Antenna<Antenna>

RepCap Settings

# Range: Nr1 .. Nr8
rc = driver.tmode.antenna.repcap_antenna_get()
driver.tmode.antenna.repcap_antenna_set(repcap.Antenna.Nr1)

SCPI Commands :

READ:WLAN:MEASurement<Instance>:TMODe:ANTenna<Antennas>
FETCh:WLAN:MEASurement<Instance>:TMODe:ANTenna<Antennas>
INITiate:WLAN:MEASurement<Instance>:TMODe:ANTenna<Antennas>
class AntennaCls[source]

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

class ResultData[source]

Response structure. Fields:

  • Reliability: int: decimal ‘Reliability indicator’

  • Decode_Status: enums.DecodeStatus: NAV | INV | OK The decode status of the received signal is not available (NAV) until all involved TX antenna signals were recorded. Then it changes to OK if the HT-SIG (high throughput signaling) fields of individual antenna signals are consistent, or to INValid otherwise.

  • Mcs: int: decimal Modulation and coding scheme of the recorded antenna signal, obtained from the HT-SIG field

  • Power: float: float Absolute power of the measured antenna signal Unit: dBm

  • Pilot_Evm: float: float Error vector magnitude of the pilot subcarriers Unit: dB

fetch(antenna=Antenna.Default) ResultData[source]
# SCPI: FETCh:WLAN:MEASurement<Instance>:TMODe:ANTenna<Antennas>
value: ResultData = driver.tmode.antenna.fetch(antenna = repcap.Antenna.Default)

Return information about the training data acquired on the designated antenna and the decode status of the received signal.

param antenna:

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

return:

structure: for return value, see the help for ResultData structure arguments.

initiate(antenna=Antenna.Default, opc_timeout_ms: int = -1) None[source]
# SCPI: INITiate:WLAN:MEASurement<Instance>:TMODe:ANTenna<Antennas>
driver.tmode.antenna.initiate(antenna = repcap.Antenna.Default)

Starts the training data acquisition for the designated antenna.

param antenna:

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

param opc_timeout_ms:

Maximum time to wait in milliseconds, valid only for this call.

read(antenna=Antenna.Default) ResultData[source]
# SCPI: READ:WLAN:MEASurement<Instance>:TMODe:ANTenna<Antennas>
value: ResultData = driver.tmode.antenna.read(antenna = repcap.Antenna.Default)

Return information about the training data acquired on the designated antenna and the decode status of the received signal.

param antenna:

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

return:

structure: for return value, see the help for ResultData structure arguments.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.tmode.antenna.clone()