Ty very much,

That worked.It converged in just 2 loops:)
I thought I was linking sensor to sensor, and lo_locked was updating in
real time:(
But this was a sensor_value_handle, not a sensor:(

BR
Nikos


On Sat, May 24, 2025 at 9:44 PM Marcus D. Leech <patchvonbr...@gmail.com>
wrote:

> On 2025-05-24 14:35, Nikos Balkanas wrote:
> > uhd_usrp_get_rx_sensor(dev[channel], "lo_locked", channel, &lo_locked)))
> You need to repeatedly call this in your while loop.
>
> All you're doing is getting the sensor value once, immediately after
> tuning, and then spinning on the value of the "value_to_bool"
> conversion, which
>    will never change, because you aren't getting a fresh value of the
> sensor.
>
> _______________________________________________
> USRP-users mailing list -- usrp-users@lists.ettus.com
> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
>
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to