discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-osmosdr python question


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] gr-osmosdr python question
Date: Thu, 14 Apr 2016 22:46:51 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 04/14/2016 10:44 PM, Richard Bell wrote:
I'm new to using gr-osmosdr and I'm trying to implement the equivalent set of USRP function calls for a HackRF

set_center_freq(target_freq)
get_sensor("lo_locked")

which amounts to measuring how long it takes to command a frequency change and lock at the new frequency.

The set_center_freq function happens to be the same, but I don't know where to find documentation or example code that shows the get_sensor equivalent, or if it's even needed. Would someone direct me to an API manual for gr-osmosdr, or source code that defines these things?

Thanks,
Rich

The "get_sensor" API is a distinctly UHD thing, as far as I know.



reply via email to

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