discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Tune UHD - as fast as possible


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Tune UHD - as fast as possible
Date: Fri, 10 Feb 2012 12:12:48 -0500

Ive used XMLRPC for the same thing and you don't have to worry about unpacking 
integers into floating point etc

--
Principal Investigator
Shirleys Bay Radio
Astronomy Consortium
http://www.sbrac.org


On Feb 10, 2012, at 10:49 AM, Ed Criscuolo <address@hidden> wrote:

> On 2/10/12 4:14 AM, Marius Ciepluch wrote:
>> 
>> So if someone knows how I can implement a callback or a polling function
>> to make the device tune for real, but as fast as possible, that'd be
>> very helpful.
>> 
> 
> In the past, I've done external tuning via GRC with the following:
> 
> Create a variable block (ie - "frequency"),  and put the name in
> the frequency parameter of the UHD-sink block.
> 
> Create a subgraph consisting of a UDP source block and a variable
> sink block, aimed at the "frequency" variable.
> 
> Use an external program to send a UDP packet to the port number
> of the UDP source block.  The packet should contain a single
> integer representing the frequency.  Pay attention to byte-order.
> 
> I've used this setup to apply doppler correction from an external
> program when receiving telemetry from a spacecraft.  We were only
> sending packets about once per second, so I don't know how fast
> this setup will go, but it's worth pursuing.
> 
> @(^.^)@  Ed
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 




reply via email to

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