Re: [Hamlib-developer] [Hamlib/Hamlib] 0ba199: Make TS890S behave like TS990S for mode on VFOB
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: George B. <geo...@gm...> - 2024-04-13 23:47:27
|
Lets try again - no need for all those pixels. On 4/13/24 4:56 PM, Black Michael wrote: > #1 Yes -- fixed OK > #2 Yes -- for the TS990 only OK, the vfo machinations are still voodoo to me. > #3 I'll check on my simulator May be caused by #5 > #4 My mistake -- SF is only for the 890 -- not the 990 OK > #5 No guarantees when VFO is switched right now. This is definitely a regression. The attached shows my normal TS-890S front panel, with VFO A somewhere in the phone band, and VFO B down in CW/FT8 territory. It's this way about 50% of the time, as I can switch back and forth with one button (A<>B). And yes, the rigctl 'm' command shows the mode as FM, not USB-DATA. > > On Saturday, April 13, 2024 at 02:02:12 PM CDT, George Baltz <geo...@gm...> wrote: > > > > > > > Better, but... > > 1) Shouldn't line kenwood.c:2475 use vfo, not curr_vfo > > 2) kenwood_get_mode() still calls kenwood_get_vfo_main_sub() > > 3) Somehow these changes have made my rig announce the mode (morse "UD") every time wsjtx switches from RX to TX and back. > > 4) Can't you use SF on the 890 also? > > 5) It still looks like kenwood_get_mode will be confused by vfo B on the left. > > > On 4/13/24 8:15 AM, Black Michael via Hamlib-developer wrote: > > >> > > Try this DLL. Looks like some more changes are need for the TS890/990 to get the correct VFO under all conditions (namely Split VFOB/VFOA instead of just Split VFOA/VFOB). > > But that can wait as it's a rare situation when somebody wants to do reverse split (as in nobody has ever asked for it). > > > > > https://www.dropbox.com/scl/fi/ccchzrdd9u35jguwbhhxo/libhamlib-4.dll?rlkey=dnpxz9fb6eci696uextmwja8o&dl=0 > > > > > > Just to give you an idea of what's going on. > > > > > #1 We need to determine the current VFO -- but that depends on transmit status and split status So we need FR/FT and then transmit status to figure out what "OM" is answering with. > > #2 Then we have set mode -- the 890 cannot set mode on B directly...have to make VFOB the active vfo with FR1;, set mode with OM, then set FR0; back. But this also depends on which way split is being done which I haven't implemented yet for reverse split. The TS990 looks like we can use the SF command to set freq/mode on either VFO which I'll have to implement. > > > > > Mike W9MDB > > > > > > > > > > > > > > > > > > > > On Friday, April 12, 2024 at 07:14:08 AM CDT, Brian Morrison via Hamlib-developer <ham...@li...> wrote: > > > > > > > > > On Fri, 12 Apr 2024 05:23:09 -0400 > George Baltz <geo...@gm...> wrote: > >> This commit breaks TS-890S operation. The TS-990 code path calls >> kenwood_get_vfo_main_sub(), which is TS-990 specific - it uses the >> "CB" command which does not exist on the TS-890S. So >> kenwood_get_mode() fails, and thing go downhill fast. >> >> It also does not handle correctly the somewhat bizarre function of >> the 890 OM command - vfo B does not always mean P1 = 1. > Thanks for confirming what I am seeing George, just goes to show that > Kenwood firmware is a variable feast. > |