Adrian, You may need to customize the code. Look in the function node "Define Exciter Drive Power"' You will find a table (see below) that sets the drive levels for standby, low, middle and high settings. The code defaults to the first column in the table for standby operation. It looks like you prefer to leave the SPE at the operate drive level rather than the standby drive level.? The following code snippet?should do what you want. In a nutshell, the select/case statement is commented out to ignore operating mode and one additional statement is added to set the power level. --------------------------------------------------------------------- /*? ?Optionally comment out VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV switch (mode) { ? ? case "S": ? ? ? ? slmh_index = slmh_string.indexOf("S"); ? ? ? ? break; ? ? case "O": ? ? ? ? slmh_index = slmh_string.indexOf(pwr_level); ? ? ? ? break; ? ? default: ? ? ? ? slmh_index = -1; ?//infaclid mode returned, flag for zero power ? ? ? ? break; } ?Commented out ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^? ?*/ slmh_index = slmh_string.indexOf(pwr_level);? ? ? ? ? ? ? ? ? ? ? //Add this statement to force mode agnostic drive levels for Low, middle and maximum --------------------------------------------------------------------- var drive_pwr_table = [ // ? ?Standby ? Low ? ?Middle ?High ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//160M ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//80M ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//60M (US 100W PEP ERP Max) ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//40M ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//30M (US 200W PEP Max) ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//20M ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//17M ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//15M ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//12M ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?//10M ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?// 6M ? ? [ ?100 ? , ? 1 ?, ? 2 ? , ? 3], ?// 4M ]; On Sun, Jul 3, 2022 at 7:04 PM Adrian Fewster via <vk4tux=[email protected]> wrote: Ron, I have noticed that I cannot change drive auto with power level change in standby, and only in operate. --
Ron |