On 05/07/2015 14:56, Michael Black wrote:

Hi Mike,

This code section is causing some problems with Yaesu hamlib entries

         if (rationalise_mode)

            {

              rmode_t current_mode;

              pbwidth_t current_width;

error_check (rig_get_split_mode (rig_.data (), RIG_VFO_CURR, &current_mode, &current_width), tr ("getting mode of split TX VFO"));

TRACE_CAT ("rig_get_split_mode mode = " << rig_strrmode (current_mode) << "bw =" << current_width);

              auto new_mode = map_mode (state ().mode ());

              if (new_mode != current_mode)

                {

TRACE_CAT ("rig_set_split_mode mode = " << rig_strrmode (new_mode));

error_check (rig_set_split_mode (rig_.data (), RIG_VFO_CURR, new_mode, RIG_PASSBAND_NORMAL), tr ("setting split TX VFO mode"));

// do this again as setting the mode may change the frequency

error_check (rig_set_split_freq (rig_.data (), RIG_VFO_CURR, tx), tr ("setting split TX frequency"));

                }

            }

The "rig_get_split_mode" is only defined for the FT920. So all others (I'm working on the FT-991 right now) are getting an error

Sat Jul 4 22:54:24 2015 GMT(C:\JTSDK\src\wsjtx\Configuration.cpp:2338)Debug: Configuration::handle_transceiver_failure: reason: "Hamlib error: Feature not available while getting mode of split TX VFO

"

That error shouldn't happen. For rigs where the "other" VFO mode can be directly queried get_split_mode() should be implemented, for rigs that can't, the front end function rig_get_split_mode() assists by swapping VFOs and using a normal mode query. The caps->targetable_vfo flags should control this behaviour.

What value do you currently have for caps->targetable_vfo for the FT-991? The FT-991 has the "OI" query but no command to set the "other" VFO mode so I think it must be RIG_VFO_TARGETABLE_FREQ only.

73

Mike W9MDB

73
Bill
G4WJS.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to