Page 1 of 1

Switching between recievers often overwrites one of the RX's settings

Posted: Thu Aug 15, 2024 12:52 pm
by K1FSY
Hello, I have been experiencing this bug for a while but recently noticed that I can easily recreate it just by quickly switching back and forth between receivers. Here is what happens:

1. Create two or more virtual receivers (i usually have 3 open) with different settings. In my testing I am switching between one set to USB and another set to N-FM with squelch enabled.
2. Quickly switch between the two of them either using hotkeys, the buttons or MIDI.

After a few clicks back and forth one of the receivers will assume the settings of the other one and change frequency and mode.

Re: Switching between recievers often overwrites one of the RX's settings

Posted: Fri Aug 16, 2024 12:12 am
by jdow
This is a VERY old (and stubborn) issue. Are you using the latest version? If not try it.

There seems to be a race condition processing messages in the SDRC message loop(s). Simon has fixed this... several times....
{^_^}

Re: Switching between recievers often overwrites one of the RX's settings

Posted: Fri Aug 16, 2024 1:52 am
by K1FSY
Hi Jdow,

Yes I am using the latest 3.3 from febuary. It has been persistent ever since I started using SDR console but happens more often now that i've added a midi dj board for buttons and sliders, so I figured I'd post about it. I didn't realize it is a long-standing bug.

Thanks!
K1FSY

Re: Switching between recievers often overwrites one of the RX's settings

Posted: Tue Aug 20, 2024 8:39 am
by jdow
The problem acts as if his system sends out a collection of messages to different parts of the system when the receiver selection changes and a race condition leads to the messages sometimes being processed in the wrong order. Digging up why and how that happens can be baffling. Add to it another message coming in changing some parameter while the prior messages are being processed and the race condition is magnified as is the difficulty finding it.

{^_^}