On 2025-05-24 16:42, Nikos Balkanas wrote:
Spectrum looks much nicer at the expense of less accurate tuning.
There is still some LO leakage...
I have my offset at sr/2 +20e6. maybe I need more.
I always just set my offset, when I use it at all, to Fs/1.8  or thereabouts.  This moves the LO leakage
  a little bit out-of-band.



On Sat, May 24, 2025 at 10:57 PM Nikos Balkanas <[email protected]> wrote:

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

_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to