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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to