Hi everyone, I created some blocks using c++, gr_modtools and used GRC in order to define the functionality. Now I need to pass parameters to the graph by console. I used as example wfm_rx_block so as to get the OptionParser functionality. The problem is that is not working, when I use one of the options I supposedly defined, I get: Usage: top_block.py: [options] top_block.py: error: no such option: -F I put the OptionParser after the variables are declared and before the blocks If anyone knows where can I find some documentation or tutorial for what I am doing it would be great. Thanks ________________________________ Este documento puede contener informacin privilegiada o confidencial. Por tanto, usar esta informacin y sus anexos para propsitos ajenos a los de la Universidad Icesi, divulgarla a personas a las cuales no se encuentre destinado este correo o reproducirla total o parcialmente, se encuentra prohibido en virtud de la legislacin vigente. La universidad no asumir responsabilidad sobre informacin, opiniones o criterios contenidos en este correo que no estn directamente relacionados con la Icesi. Si usted no es el destinatario autorizado o por error recibe este mensaje, por favor informe al remitente y posteriormente brrelo de su sistema sin conservar copia del mismo.
on 2013-01-31 15:40
on 2013-01-31 22:36
Have you looked up the Python docs for that module? http://docs.python.org/2/library/optparse.html Cheers, Ben On Thu, Jan 31, 2013 at 6:39 AM, Juan Daniel Fernandez Martinez <
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.