Per

SCPI Commands :

CONFigure:WLAN:SIGNaling<instance>:PER:FDEF
CONFigure:WLAN:SIGNaling<instance>:PER:DPATtern
CONFigure:WLAN:SIGNaling<instance>:PER:DINTerval
CONFigure:WLAN:SIGNaling<instance>:PER:TIDentifier
CONFigure:WLAN:SIGNaling<instance>:PER:DESTination
CONFigure:WLAN:SIGNaling<instance>:PER:PACKets
CONFigure:WLAN:SIGNaling<instance>:PER:ATYPe
CONFigure:WLAN:SIGNaling<instance>:PER:REPetition
class PerCls[source]

Per commands group definition. 17 total commands, 2 Subgroups, 8 group commands

class FdefStruct[source]

Structure for setting input parameters. Contains optional set arguments. Fields:

  • Format_Py: enums.DataFormatExt: NHT | HTM | VHT | HES | HEM Selects the frame format NHT: non-high throughput format (non-HT) HTM: HT mixed format (HT MF) VHT: very high throughput format HES: high efficiency single-user format (HE SU) HEM: high efficiency multi-user format (HE MU)

  • Bandwidth: enums.ChannelBandwidthDut: BW20 | BW40 | BW80 | BW160 Channel bandwidth The value must not exceed the operating channel bandwidth, see [CMDLINKRESOLVED Configure.RfSettings#OcWidth CMDLINKRESOLVED].

  • Coderate: enums.Coderate: BR12 | QR12 | QR34 | Q1M12 | Q1M34 | Q6M23 | Q6M34 | BR34 | MCS | MCS1 | MCS2 | MCS3 | MCS4 | MCS5 | MCS6 | MCS7 | D1MBit | D2MBits | C55Mbits | C11Mbits | MCS8 | MCS9 | MCS10 | MCS11 | MCS12 | MCS13 | MCS14 | MCS15 See rate list in [CMDLINKRESOLVED Configure.Connection.MfDef#set CMDLINKRESOLVED]

  • Guard_Interval: enums.GuardInterval: Optional setting parameter. LONG | SHORt | GI08 | GI16 | GI32 SHORt, LONG: short or long guard interval (up to 802.11ac) GI08, GI16, GI32: 0.8 μs, 1.6 μs, and 3.2 μs guard interval durations (for 802.11ax)

  • Ltf_Type: enums.LtfType: Optional setting parameter. X1 | X2 | X4 1x HE-LTF, 2x HE-LTF, 4x HE-LTF for 802.11ax

  • Pe_Duration: enums.PeDuration: Optional setting parameter. PE0 | PE4 | PE8 | PE12 | PE16 | AUTO PEx: additional receive processing time of x μs signaled in packet extension (PE) field (only for 802.11ax) AUTO: automatic setting based on the reported DUTs capabilities

  • Ctype: enums.CodingType: Optional setting parameter. LDPC | BCC Coding type (for 802.11ax - VHT, HE_SU, HE_MU frames only) : low density parity check or binary convolution code

  • Streams: enums.Streams: Optional setting parameter. STR1 | STR2 Number of streams

  • Stbc: bool: Optional setting parameter. OFF | ON Enables / disables space time block coding (STBC) . If disabled, spatial multiplexing is used.

get_atype() AckType[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:ATYPe
value: enums.AckType = driver.configure.per.get_atype()

Selects an evaluation scheme for the PER measurement. Currently, only the standard frame acknowledgment is available.

return:

ack_type: ACK

get_destination() Station[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:DESTination
value: enums.Station = driver.configure.per.get_destination()

Specify the station for which the traffic is measured. This parameter is visible, if ‘Multi STA’ is enabled.

return:

sta: STA1 | STA2 | STA3

get_dinterval() int[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:DINTerval
value: int = driver.configure.per.get_dinterval()

Specifies the time interval (in units of 1024 µs) between data packet transmissions for the PER measurement.

return:

interval: integer Range: 0 to 100

get_dpattern() Pattern[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:DPATtern
value: enums.Pattern = driver.configure.per.get_dpattern()

Selects the data that the R&S CMW transfers to the DUT.

return:

pattern: PN1 | PN2 | PN3 | PN4 | PN5 | PN6 | PN7 | PN8 | PN9 | PN10 | PN11 | PN12 | PN13 | PN14 | PN15 | PN16 | PN17 | PN18 | PN19 | PN20 | PN21 | PN22 | PN23 | PN24 | PN25 | PN26 | PN27 | PN28 | PN29 | PN30 | PN31 | PN32 | PRANdom | AZERo | AONE | PT01 | PT10 PN1,…,PN32: pseudo-noise bit sequences of different lengths PRANdom: random bit sequence AZERo: all zero pattern ‘000…’ AONE: all one pattern ‘111…’ PT01: alternating sequence starting with zero ‘010101…’ PT10: alternating sequence starting with one ‘101010…’

get_fdef() FdefStruct[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:FDEF
value: FdefStruct = driver.configure.per.get_fdef()

Configures the downlink data frames for PER measurements.

return:

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

get_packets() int[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:PACKets
value: int = driver.configure.per.get_packets()

Sets the number of user data MAC packets to be transmitted to the DUT.

return:

number_of_packets: numeric Range: 1 to 1E+6

get_repetition() Repeat[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:REPetition
value: enums.Repeat = driver.configure.per.get_repetition()

No command help available

return:

repetition: No help available

get_tidentifier() Tid[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:TIDentifier
value: enums.Tid = driver.configure.per.get_tidentifier()

Sets the TID value to be used for PER measurements.

return:

tid: TID0 | TID1 | TID2 | TID3 | TID4 | TID5 | TID6 | TID7

set_atype(ack_type: AckType) None[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:ATYPe
driver.configure.per.set_atype(ack_type = enums.AckType.ACK)

Selects an evaluation scheme for the PER measurement. Currently, only the standard frame acknowledgment is available.

param ack_type:

ACK

set_destination(sta: Station) None[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:DESTination
driver.configure.per.set_destination(sta = enums.Station.STA1)

Specify the station for which the traffic is measured. This parameter is visible, if ‘Multi STA’ is enabled.

param sta:

STA1 | STA2 | STA3

set_dinterval(interval: int) None[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:DINTerval
driver.configure.per.set_dinterval(interval = 1)

Specifies the time interval (in units of 1024 µs) between data packet transmissions for the PER measurement.

param interval:

integer Range: 0 to 100

set_dpattern(pattern: Pattern) None[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:DPATtern
driver.configure.per.set_dpattern(pattern = enums.Pattern.AONE)

Selects the data that the R&S CMW transfers to the DUT.

param pattern:

PN1 | PN2 | PN3 | PN4 | PN5 | PN6 | PN7 | PN8 | PN9 | PN10 | PN11 | PN12 | PN13 | PN14 | PN15 | PN16 | PN17 | PN18 | PN19 | PN20 | PN21 | PN22 | PN23 | PN24 | PN25 | PN26 | PN27 | PN28 | PN29 | PN30 | PN31 | PN32 | PRANdom | AZERo | AONE | PT01 | PT10 PN1,…,PN32: pseudo-noise bit sequences of different lengths PRANdom: random bit sequence AZERo: all zero pattern ‘000…’ AONE: all one pattern ‘111…’ PT01: alternating sequence starting with zero ‘010101…’ PT10: alternating sequence starting with one ‘101010…’

set_fdef(value: FdefStruct) None[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:FDEF
structure = driver.configure.per.FdefStruct()
structure.Format_Py: enums.DataFormatExt = enums.DataFormatExt.HEES
structure.Bandwidth: enums.ChannelBandwidthDut = enums.ChannelBandwidthDut.BW160
structure.Coderate: enums.Coderate = enums.Coderate.BR12
structure.Guard_Interval: enums.GuardInterval = enums.GuardInterval.GI08
structure.Ltf_Type: enums.LtfType = enums.LtfType.X1
structure.Pe_Duration: enums.PeDuration = enums.PeDuration.AUTO
structure.Ctype: enums.CodingType = enums.CodingType.BCC
structure.Streams: enums.Streams = enums.Streams.STR1
structure.Stbc: bool = False
driver.configure.per.set_fdef(value = structure)

Configures the downlink data frames for PER measurements.

param value:

see the help for FdefStruct structure arguments.

set_packets(number_of_packets: int) None[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:PACKets
driver.configure.per.set_packets(number_of_packets = 1)

Sets the number of user data MAC packets to be transmitted to the DUT.

param number_of_packets:

numeric Range: 1 to 1E+6

set_repetition(repetition: Repeat) None[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:REPetition
driver.configure.per.set_repetition(repetition = enums.Repeat.CONTinuous)

No command help available

param repetition:

No help available

set_tidentifier(tid: Tid) None[source]
# SCPI: CONFigure:WLAN:SIGNaling<instance>:PER:TIDentifier
driver.configure.per.set_tidentifier(tid = enums.Tid.TID0)

Sets the TID value to be used for PER measurements.

param tid:

TID0 | TID1 | TID2 | TID3 | TID4 | TID5 | TID6 | TID7

Cloning the Group

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

Subgroups