I am trying to modify the USRP2 block so that the timer is reset at the
beginning. I added this line to the make tag in the xml file:
self.$(id).set_time_at_next_pps(time_spec_t(0,0))
I receive this error:
Traceback (most recent call last):
File "/media/ZOHAIR/top_block.py", line 64, in <module>
tb = top_block()
File "/media/ZOHAIR/top_block.py", line 36, in __init__
self.usrp2_sync_source_xxxx_0.set_time_at_next_pps(time_spec_t(0,0))
NameError: global name 'time_spec_t' is not defined
Any help or hint please? I am using GRC 3.3git-23e45f33
Cheers,
Zoh
--
View this message in context: http://old.nabble.com/Error-in-python-%28XML-file%29-tp29022268p29022268.html
Sent from the GnuRadio mailing list archive at Nabble.com.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment