State<Antenna>

RepCap Settings

# Range: Nr1 .. Nr32
rc = driver.applications.k14Xnr5G.inputPy.egain.state.repcap_antenna_get()
driver.applications.k14Xnr5G.inputPy.egain.state.repcap_antenna_set(repcap.Antenna.Nr1)

SCPI Command :

INPut:EGAin<ant>:STATe
class StateCls[source]

State commands group definition. 1 total commands, 0 Subgroups, 1 group commands Repeated Capability: Antenna, default value after init: Antenna.Nr1

get(antenna=Antenna.Default) bool[source]
# SCPI: INPut:EGAin<ant>:STATe
value: bool = driver.applications.k14Xnr5G.inputPy.egain.state.get(antenna = repcap.Antenna.Default)

Before this command can be used, the external preamplifier must be connected to the FSW. See the preamplifier’s documentation for details. When activated, the FSW automatically compensates the magnitude and phase characteristics of the external preamplifier in the measurement results. Note that when an optional external preamplifier is activated, the internal preamplifier is automatically disabled, and vice versa. For FSW85 models with two RF inputs, you must enable correction from the external preamplifier for each input individually. Correction cannot be enabled for both inputs at the same time. When deactivated, no compensation is performed even if an external preamplifier remains connected.

param antenna

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘State’)

return

state: ON | OFF | 0 | 1 OFF | 0 No data correction is performed based on the external preamplifier ON | 1 Performs data corrections based on the external preamplifier

set(state: bool, antenna=Antenna.Default) None[source]
# SCPI: INPut:EGAin<ant>:STATe
driver.applications.k14Xnr5G.inputPy.egain.state.set(state = False, antenna = repcap.Antenna.Default)

Before this command can be used, the external preamplifier must be connected to the FSW. See the preamplifier’s documentation for details. When activated, the FSW automatically compensates the magnitude and phase characteristics of the external preamplifier in the measurement results. Note that when an optional external preamplifier is activated, the internal preamplifier is automatically disabled, and vice versa. For FSW85 models with two RF inputs, you must enable correction from the external preamplifier for each input individually. Correction cannot be enabled for both inputs at the same time. When deactivated, no compensation is performed even if an external preamplifier remains connected.

param state

ON | OFF | 0 | 1 OFF | 0 No data correction is performed based on the external preamplifier ON | 1 Performs data corrections based on the external preamplifier

param antenna

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘State’)

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.applications.k14Xnr5G.inputPy.egain.state.clone()