discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Error in python (XML file)


From: Zohair
Subject: [Discuss-gnuradio] Error in python (XML file)
Date: Tue, 29 Jun 2010 03:38:38 -0700 (PDT)

Dear all,

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]