discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-uhd timed command messages


From: Martin Braun
Subject: Re: [Discuss-gnuradio] gr-uhd timed command messages
Date: Fri, 4 Mar 2016 09:53:53 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 03/04/2016 02:35 AM, Nigel Steed wrote:
> Thanks Marcus,
> 
> The UHD Source finally understand the following:
> 
> pmt::pmt_t timeStamp = pmt::cons(pmt::from_long(1),
> pmt::from_double(1)); d_rxCommand = pmt::dict_add(d_rxCommand,
> pmt::mp("time"), timeStamp);
> 
> Although UHD Source reports processing the message, I eventually get
> a packet loss error and the N210 disconnects (no control response
> error).
> 
> Do you think it maybe better for me to modify UHD Source and
> implement the timed command in the set_center_freq function in the
> usrp_source_impl.cc (UHD Source Block) ? As I am successfully
> stepping the UHD Source using the message port successfully and I
> just need to add a timed command so both channels re-tune together.


If you want to use the API calls, you can already do this without having
to modify the UHD source (by using set_command_time() and
set_center_frequency()). However, I'd recommend sticking with the messages.

Cheers,
M



reply via email to

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