Icreated a block using gr_modtool add -l python -tsync command, whereI tried to implement this discussion:[Discuss-gnuradio] Change frequency in USRPsource automatically(https://lists.gnu.org/archive/html/discuss-gnuradio/2016-03/msg00402.html)
And thenused this block in a flowgraph connecting to the block USRP Source. when Itried to run the top_block.py block, the following error wasdisplayed:- root@pglab1-HCL-Desktop:/home/pglab1#python top_block.py Traceback(most recent call last): File"top_block.py", line 98, in <module> main() File"top_block.py", line 86, in main tb= top_block_cls() File"top_block.py", line 64, in __init__ self.tutorial_frew_sweep_v1_f_0 =tutorial.frew_sweep_v1_f() File"/usr/local/lib/python2.7/dist-packages/tutorial/frew_sweep_v1_f.py",line 40, in __init__ self.set_msg_handler(pmt.intern('clock'),self.handler) File"/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gateway.py",line 200, in set_msg_handler self.__gateway.set_msg_handler_feval(which_port,handler) File"/usr/local/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py",line 6423, in set_msg_handler_feval return_runtime_swig.block_gateway_sptr_set_msg_handler_feval(self,which_port, msg_handler) RuntimeError:attempt to set_msg_handler_feval() on bad input message port! Can someone help me to correct this error?Thanking youRensi SamAnna University
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio