State<Antenna>

RepCap Settings

# Range: Nr1 .. Nr32
rc = driver.applications.k91Wlan.configure.wlan.antMatrix.state.repcap_antenna_get()
driver.applications.k91Wlan.configure.wlan.antMatrix.state.repcap_antenna_set(repcap.Antenna.Nr1)

SCPI Command :

CONFigure:WLAN:ANTMatrix:STATe<ant>
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: CONFigure:WLAN:ANTMatrix:STATe<ant>
value: bool = driver.applications.k91Wlan.configure.wlan.antMatrix.state.get(antenna = repcap.Antenna.Default)

This remote control command specifies the state of the specified antenna. Note, it is not possible to change the state of the first antenna (primary) .

param antenna

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

return

state: ON | OFF | 1 | 0 State of the antenna

set(state: bool, antenna=Antenna.Default) None[source]
# SCPI: CONFigure:WLAN:ANTMatrix:STATe<ant>
driver.applications.k91Wlan.configure.wlan.antMatrix.state.set(state = False, antenna = repcap.Antenna.Default)

This remote control command specifies the state of the specified antenna. Note, it is not possible to change the state of the first antenna (primary) .

param state

ON | OFF | 1 | 0 State of the antenna

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.k91Wlan.configure.wlan.antMatrix.state.clone()