Forgot to add that it's only sometimes. Sometimes it's fine. Haven't figured out the conditions yet.
toggle quoted message
Show quoted text
I've seen the same thing here with my 7300.
Hi Dave.
Sorry, but 2.0.05.66 STILL has the "sticky extra controls" button issue.? While the UI hangs for some time, awaiting a non existent response from the radio, for a simple command sent to turn something on or off.
Even though it uses :-
waitResponse(progStatus.serial_timeout);?? ( In dialogs.cxx at line 2006 )
instead of...
waitResponse(200);
The UI still hangs for some 7 seconds.
Commenting out that entire line, and all is good again, so why is it needed?
I think the problem is that calling "waitResponse()" in general is the issue, when there is *NO* response from the radio for some command sent to it.? (Turning the TS870's Beat Cancel function on/off for example.)
Even "waitResponse(0)" or other single digit figure, still causes the 7 second hang.
I'm running the control serial link at 57600bd too, with RTS/CTS handshake, as required by many Kenwood radios.
It is only those user created functions in the slide out (or docked) "fldigi extra controls" facility that seems to be affected, with the TS870, but the Icom PCR1000 and Yaesu FT736 rigs are affected in a much greater way, as many of the "normal" functions do not return anything from the rig.? Especially the 736.
That block of code (in dialogs.cxx) where waitResponse() is, as far as I can see, has not changed, and that is the only instance in dialogs.cxx
But I guess the "guts" of waitResponse() has, or some other code being invoked by waitResponse() is being invoked, but what and where?
(I have never found out how to discover which included file contains a function being invoked in any given source file.? It's probably easy, just I don't know how.)
If you wish, we could do a Zoom call, and share screen's etc.? If that would help?? (Time differences permitting.)
All the best Dave (HKJ)
Dave G0WBX.
--
Created on and sent from a Unix like PC running and using free and open source software: