Monday, August 31, 2015

Re: [Discuss-gnuradio] Using the UHD API for Python Programming

time_spec_t() is a helper function in class "uhd", it is not a method in a uhd.usrp_source/sink.

 

self.cmd_time = uhd.time_spec_t(0.1)

 

Would be the correct idiom.

 

 

 

 

On 2015-08-31 15:31, Tibisay Sanchez wrote:

my line is    self.cmd_time = self.uhd_usrp_source_0.uhd.time_spec_t(.1)    but it shows an error when it calls uhd.time_spec_t(.1)    it says usrp_source_sptr' object has no attribute 'uhd_time_spect_t'.    I need both LO are align to synch the phase  

No comments:

Post a Comment