Thanks a lot.
It works!!
At least it doesn't show an error in the code.
Now, I'm going to test the system.
thanks for your help
--
Posted via http://www.ruby-forum.com/.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.o
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)
>
>
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
--
Posted via http://www.ruby-forum.com/.
__
On 08/31/2015 12:34 PM, Tibisay Sanchez wrote:
Actually, it dindn't work if I use uhd.time_spec_t(.1)
I should have looked closer:
you want:
cmd_time = uhd.time_spec_t(0.1)
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.
Actually, it dindn't work if I use uhd.time_spec_t(.1)
--
Posted via http://www.ruby-forum.com/.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
On 08/31/2015 12:04 PM, Tibisay Sanchez wrote:
Hi people.
I'm using the same code to synchronize channel phase. I'm using MIMO
cable, and the next lines are used to do that
self.uhd_usrp_source_0.set_clock_source("mimo", 1)
self.uhd_usrp_source_0.set_time_source("mimo", 1)
Hi people.
I'm using the same code to synchronize channel phase. I'm using MIMO
cable, and the next lines are used to do that
self.uhd_usrp_source_0.set_clock_source("mimo", 1)
self.uhd_usrp_source_0.set_time_source("mimo", 1)
self.uhd_usrp_source_0.set_samp_rate(samp_rat
On 06/22/2012 12:19 PM, Alexander Olihovik wrote:
> So to tune two USRP N210s connected by a MIMO cable, I should set the
> command time to be some time spec, and then re-tune both channels to the
> same frequency, thus giving them the same phase offset?
>
> i.e. My code is looking more like:
m
So to tune two USRP N210s connected by a MIMO cable, I should set the
command time to be some time spec, and then re-tune both channels to the
same frequency, thus giving them the same phase offset?
i.e. My code is looking more like:
self.cmd_time = self.uhd_usrp_source_0.uhd.time_spec_t(.1)
self.
On 06/22/2012 10:18 AM, Alexander Olihovik wrote:
> For get_time_now(), would I need to swig multi_usrp.hpp?
Everything you see in these headers should be available in python:
http://gnuradio.org/cgit/gnuradio.git/tree/gr-uhd/include
-josh
>
> On Fri, Jun 22, 2012 at 12:19 PM, Josh Blum wrot
radio-bounces+sean.nowlan=gtri.gatech@gnu.org] On Behalf
Of Alexander Olihovik
Sent: Friday, June 22, 2012 1:18 PM
To: j...@ettus.com
Cc: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Using the UHD API for Python Programming
For get_time_now(), would I need to swig multi_usrp.hpp?
O
For get_time_now(), would I need to swig multi_usrp.hpp?
On Fri, Jun 22, 2012 at 12:19 PM, Josh Blum wrote:
>
>
> On 06/22/2012 07:33 AM, Alexander Olihovik wrote:
> > Hi all,
> > I'm having some trouble using the C++ UHD API for writing Python code.
> > I understand that the code has been SWIG'
On 06/22/2012 07:33 AM, Alexander Olihovik wrote:
> Hi all,
> I'm having some trouble using the C++ UHD API for writing Python code.
> I understand that the code has been SWIG'd from C++ to Python.
>
>
> Specifically, the C++ code I want to convert to Python is:
> --
Hi all,
I'm having some trouble using the C++ UHD API for writing Python code.
I understand that the code has been SWIG'd from C++ to Python.
Specifically, the C++ code I want to convert to Python is:
---
uhd::stream_cmd_t
stream_cmd(uhd::stream_cmd_t::STREAM_M
14 matches
Mail list logo