[Top][All Lists]

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

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

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

I also tried this:

and receive:
Traceback (most recent call last):
  File "/media/ZOHAIR/top_block.py", line 66, in <module>
    tb = top_block()
  File "/media/ZOHAIR/top_block.py", line 35, in __init__
AttributeError: 'module' object has no attribute 'time_spec_t'

The problem in my code or in time_spec_t accessibility? What do you think? 


Zohair wrote:
> 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: 
Sent from the GnuRadio mailing list archive at Nabble.com.

reply via email to

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