I have a custom block in GRC, say CustBlock. The whole process of building an out-of-tree module works fine and I can instantiate the custom block in GRC GUI.
The custom block has few arguments which I am hoping to control directly from GUI. I have added the needed call back functions and relevant declarations/definitions needed in the implementation .c/.h files. When I click on Generate Flowgraph, I see the top_block.py file which has an error referring to the very first argument of the custom block. For example, here is a line from top_block.py: self.a1System_CustBlock_cf_0 = Template error: a1System.CustBlock_cf($samps_per_sweep, $num_sweeps) cannot find 'samps_per_sweep' I have no idea why it keeps complaining about the 'samps_per_sweep' argument. The corresponding XML files defines the <param> definitioin for the samps_per_sweep parameter with the <key> tag set to 'samps_per_sweep'. Is there something special about block's very first argument? I have also tried defining a variable block in GRC GUI with variable name 'samps_per_sweep' but it still keeps dumping the same error in the generated flowgraph file. Any help is appreciated. Thanks, Vipin
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio