feat(elecraft): the rest of the main controls on the K3/K4 console
So the tester can exercise everything in one session instead of one control per build: RF and mic gain, squelch, preamp, attenuator, NB, NR, AGC, filter width, antenna, RIT/XIT with a clear, and the keyer speed. The analogue scales differ between an Elecraft and a Kenwood — RF gain 000-250, mic 000-060, squelch 000-029 against 0-255 — so each is mapped through its own full scale and shown as a percentage. Using one rig's range on the other silently halves or doubles every setting. Antenna only appears when the radio answers AN: a K3 without the internal ATU has one socket, and a switch that goes nowhere is worse than none.
This commit is contained in:
@@ -1082,6 +1082,19 @@ export namespace cat {
|
||||
swr_raw: number;
|
||||
rf_power: number;
|
||||
af_gain: number;
|
||||
rf_gain: number;
|
||||
mic_gain: number;
|
||||
squelch: number;
|
||||
preamp: boolean;
|
||||
att: boolean;
|
||||
nb: boolean;
|
||||
nr: boolean;
|
||||
agc?: string;
|
||||
filter_hz: number;
|
||||
antenna: number;
|
||||
rit: boolean;
|
||||
xit: boolean;
|
||||
key_speed: number;
|
||||
meters_provisional: boolean;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
@@ -1104,6 +1117,19 @@ export namespace cat {
|
||||
this.swr_raw = source["swr_raw"];
|
||||
this.rf_power = source["rf_power"];
|
||||
this.af_gain = source["af_gain"];
|
||||
this.rf_gain = source["rf_gain"];
|
||||
this.mic_gain = source["mic_gain"];
|
||||
this.squelch = source["squelch"];
|
||||
this.preamp = source["preamp"];
|
||||
this.att = source["att"];
|
||||
this.nb = source["nb"];
|
||||
this.nr = source["nr"];
|
||||
this.agc = source["agc"];
|
||||
this.filter_hz = source["filter_hz"];
|
||||
this.antenna = source["antenna"];
|
||||
this.rit = source["rit"];
|
||||
this.xit = source["xit"];
|
||||
this.key_speed = source["key_speed"];
|
||||
this.meters_provisional = source["meters_provisional"];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user