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 información privilegiada o confidencial. Por tanto, usar esta información y sus anexos para propósitos 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 legislación vigente. La universidad no asumirá responsabilidad sobre información, opiniones o criterios contenidos en este correo que no estén 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 bórrelo de su sistema sin conservar copia del mismo.
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio