That works. Started with both VFOs on LSB and Mode=USB and rig split. On band change it switched to USB and left bandwidth alone. But why couldn't you just remember the bw from get_mode and keep using that rather than wholesale changes to hamlib? And allowing the user to put bandwidth in the rig settings too so, for examle, you don't have to reset all the bands on your rig when changing operating modes? If bandwidth is added as an option and it's not filled in then you just keep whatever the current bandwidth is.
RRR Mike W9MDB On Thu, Apr 7, 2016 at 5:10 PM, Bill Somerville <[email protected]> wrote: > On 07/04/2016 22:33, Bill Somerville wrote: >> I know what is happening now. The issue is due to using a new Hamlib API >> function to set split frequency and mode together in one step. This is >> essential for many rigs because setting the two separately takes many >> VFO swaps which is disruptive to the audio. The solution is to sort out >> Hamlib so that there is a way of setting the mode without touching the >> bandwidth. I've just noticed that the pbwidth_t type in Hamlib is a >> signed long so I think a -1 value could be co-opted to mean no change >> which may be a relatively easy enhancement. > Hi Mike, > > Here are a pair of patches for wsjtx and hamlib which are a quick and > dirty proof of concept of a hamlib feature to set mode without changing > the bandwidth. It is only implemented for the Omni-VII. Can you give it > a try please? > > https://dl.dropboxusercontent.com/u/4192709/omni-vii_wsjtx.patch > https://dl.dropboxusercontent.com/u/4192709/omni-vii_hamlib.patch > > 73 > Bill > G4WJS. > > ------------------------------------------------------------------------------ > _______________________________________________ > wsjt-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wsjt-devel ------------------------------------------------------------------------------ _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
