Trigger

SCPI Commands :

[SOURce<HW>]:BB:WLNN:TRIGger:RMODe
[SOURce<HW>]:BB:WLNN:TRIGger:SLENgth
[SOURce<HW>]:BB:WLNN:TRIGger:SLUNit
[SOURce<HW>]:BB:WLNN:TRIGger:SOURce
[SOURce<HW>]:BB:WLNN:[TRIGger]:SEQuence
Commands in total: 29
Subgroups: 6
Direct child commands: 5
get_rmode() TrigRunMode[source]
# [SOURce<HW>]:BB:WLNN:TRIGger:RMODe
value: enums.TrigRunMode = driver.source.bb.wlnn.trigger.get_rmode()

The command queries the current status of signal generation for all trigger modes with IEEE 802.11 WLAN modulation on.

Returns:

rmode: STOP | RUN STOP The signal is not generated. A trigger event did not occur in the triggered modes, or signal generation was stopped by the command :SOURce1:BB:WLNN:TRIGger:ARM:EXECute (armed trigger modes only) . RUN The signal is generated. A trigger event occurred in the triggered mode.

get_sequence() DmTrigMode[source]
# [SOURce<HW>]:BB:WLNN:[TRIGger]:SEQuence
value: enums.DmTrigMode = driver.source.bb.wlnn.trigger.get_sequence()

Selects the trigger mode:

  • AUTO = auto

  • RETRigger = retrigger

  • AAUTo = armed auto

  • ARETrigger = armed retrigger

  • SINGle = single

Returns:

sequence: AUTO | RETRigger | AAUTo | ARETrigger | SINGle

get_sl_unit() UnitSlB[source]
# [SOURce<HW>]:BB:WLNN:TRIGger:SLUNit
value: enums.UnitSlB = driver.source.bb.wlnn.trigger.get_sl_unit()

Defines the unit for the entry of the length of the signal sequence (method RsSmw.source.bb.wlnn.trigger.slength() ) to be output in the single trigger mode (method RsSmw.source.bb.wlnn.trigger.sequence() is set to SINGle) .

Returns:

sl_unit: SEQuence | SAMPle SEQuence Unit Sequence Length. A single sequence is generated after a trigger event. SAMPle Unit Sample. A single sample is generated after a trigger event.

get_slength() int[source]
# [SOURce<HW>]:BB:WLNN:TRIGger:SLENgth
value: int = driver.source.bb.wlnn.trigger.get_slength()

The command defines the length of the signal sequence to be output in the ‘Single’ trigger mode (method RsSmw.source.bb.wlnn.trigger.sequence() is set to SING) . The input is made in terms of samples. It is possible to output deliberately just part of the frame, an exact sequence of the frame, or a defined number of repetitions of the frame.

Returns:

slength: integer Range: 1 to (2^32) - 1, Unit: sample

get_source() TrigSour[source]
# [SOURce<HW>]:BB:WLNN:TRIGger:SOURce
value: enums.TrigSour = driver.source.bb.wlnn.trigger.get_source()

Selects the trigger signal source and determines the way the triggering is executed. Provided are the following trigger sources:

  • INTernal: Internal manual triggering of the instrument

  • INTA | INTB: Internal triggering by a signal from the other basebands

  • External trigger signal via one of the local or global connectors:

  • EGT1 | EGT2: External global trigger

  • EGC1 | EGC2: External global clock

  • ELTRigger: External local trigger

  • ELCLock: External local clock

  • For secondary instruments (SCONfiguration:MULTiinstrument:MODE SEC) , triggering

via the external baseband synchronization signal of the primary instrument: SOURce1:BB:ARB:TRIGger:SOURce BBSY
  • OBASeband | BEXTernal | EXTernal: Setting only Provided only for backward

compatibility with other Rohde & Schwarz signal generators. The R&S SMW200A accepts these values and maps them automatically as follows: EXTernal = EGT1, BEXTernal = EGT2, OBASeband = INTA or INTB (depending on the current baseband)

Returns:

source: INTB | INTernal | OBASeband | EGT1 | EGT2 | EGC1 | EGC2 | ELTRigger | INTA | ELCLock | BEXTernal | EXTernal | BBSY

set_sequence(sequence: DmTrigMode) None[source]
# [SOURce<HW>]:BB:WLNN:[TRIGger]:SEQuence
driver.source.bb.wlnn.trigger.set_sequence(sequence = enums.DmTrigMode.AAUTo)

Selects the trigger mode:

  • AUTO = auto

  • RETRigger = retrigger

  • AAUTo = armed auto

  • ARETrigger = armed retrigger

  • SINGle = single

Parameters:

sequence – AUTO | RETRigger | AAUTo | ARETrigger | SINGle

set_sl_unit(sl_unit: UnitSlB) None[source]
# [SOURce<HW>]:BB:WLNN:TRIGger:SLUNit
driver.source.bb.wlnn.trigger.set_sl_unit(sl_unit = enums.UnitSlB.SAMPle)

Defines the unit for the entry of the length of the signal sequence (method RsSmw.source.bb.wlnn.trigger.slength() ) to be output in the single trigger mode (method RsSmw.source.bb.wlnn.trigger.sequence() is set to SINGle) .

Parameters:

sl_unit – SEQuence | SAMPle SEQuence Unit Sequence Length. A single sequence is generated after a trigger event. SAMPle Unit Sample. A single sample is generated after a trigger event.

set_slength(slength: int) None[source]
# [SOURce<HW>]:BB:WLNN:TRIGger:SLENgth
driver.source.bb.wlnn.trigger.set_slength(slength = 1)

The command defines the length of the signal sequence to be output in the ‘Single’ trigger mode (method RsSmw.source.bb.wlnn.trigger.sequence() is set to SING) . The input is made in terms of samples. It is possible to output deliberately just part of the frame, an exact sequence of the frame, or a defined number of repetitions of the frame.

Parameters:

slength – integer Range: 1 to (2^32) - 1, Unit: sample

set_source(source: TrigSour) None[source]
# [SOURce<HW>]:BB:WLNN:TRIGger:SOURce
driver.source.bb.wlnn.trigger.set_source(source = enums.TrigSour.BBSY)

Selects the trigger signal source and determines the way the triggering is executed. Provided are the following trigger sources:

  • INTernal: Internal manual triggering of the instrument

  • INTA | INTB: Internal triggering by a signal from the other basebands

  • External trigger signal via one of the local or global connectors:

  • EGT1 | EGT2: External global trigger

  • EGC1 | EGC2: External global clock

  • ELTRigger: External local trigger

  • ELCLock: External local clock

  • For secondary instruments (SCONfiguration:MULTiinstrument:MODE SEC) , triggering

via the external baseband synchronization signal of the primary instrument: SOURce1:BB:ARB:TRIGger:SOURce BBSY
  • OBASeband | BEXTernal | EXTernal: Setting only Provided only for backward

compatibility with other Rohde & Schwarz signal generators. The R&S SMW200A accepts these values and maps them automatically as follows: EXTernal = EGT1, BEXTernal = EGT2, OBASeband = INTA or INTB (depending on the current baseband)

Parameters:

source – INTB | INTernal | OBASeband | EGT1 | EGT2 | EGC1 | EGC2 | ELTRigger | INTA | ELCLock | BEXTernal | EXTernal | BBSY

Cloning the Group

# Create a copy of the original group, that exists independently
trigger_copy = driver.source.bb.wlnn.trigger.clone()

Subgroups