Trigger
SCPI Commands :
[SOURce<HW>]:BB:WLAD:TRIGger:RMODe
[SOURce<HW>]:BB:WLAD:TRIGger:SLENgth
[SOURce<HW>]:BB:WLAD:TRIGger:SLUNit
[SOURce<HW>]:BB:WLAD:TRIGger:SOURce
[SOURce<HW>]:BB:WLAD:[TRIGger]:SEQuence
- Commands in total: 25Subgroups: 6Direct child commands: 5
- get_rmode() TrigRunMode[source]
# [SOURce<HW>]:BB:WLAD:TRIGger:RMODe value: enums.TrigRunMode = driver.source.bb.wlad.trigger.get_rmode()
Queries the current status of signal generation for all trigger modes with IEEE 802.11ad/ay modulation on.
- Returns:
rmode: STOP | RUN RUN The signal is generated. A trigger event occurred in the triggered mode. STOP The signal is not generated. A trigger event did not occur in the triggered modes, or signal generation was stopped by the command :BB:WLAD:TRIG:ARM:EXECute (armed trigger modes only) .
- get_sequence() DmTrigMode[source]
# [SOURce<HW>]:BB:WLAD:[TRIGger]:SEQuence value: enums.DmTrigMode = driver.source.bb.wlad.trigger.get_sequence()
Selects the trigger mode.
- Returns:
sequence: AUTO | RETRigger | AAUTo | ARETrigger | SINGle AUTO The modulation signal is generated continuously. RETRigger The modulation signal is generated continuously. A trigger event (internal or external) causes a restart. AAUTo The modulation signal is generated only when a trigger event occurs. After the trigger event the signal is generated continuously. Signal generation is stopped with command SOUR:BB:WLAD:TRIG:ARM:EXEC and started again when a trigger event occurs. ARETrigger The modulation signal is generated only when a trigger event occurs. The device automatically toggles to RETRIG mode. Every subsequent trigger event causes a restart. Signal generation is stopped with command SOUR:BB:WLAD:TRIG:ARM:EXEC and started again when a trigger event occurs. SINGle The modulation signal is generated only when a trigger event occurs. Then the signal is generated once to the length specified with command SOUR:BB:WLAD:TRIG:SLEN. Every subsequent trigger event causes a restart.
- get_sl_unit() UnitSlB[source]
# [SOURce<HW>]:BB:WLAD:TRIGger:SLUNit value: enums.UnitSlB = driver.source.bb.wlad.trigger.get_sl_unit()
Sets the unit for the entry of the length of the signal sequence (SOUR:BB:WLAD:TRIG:SLEN) to be output in the Single trigger mode (SOUR:BB:WLAD:SEQ SING) .
- Returns:
sl_unit: SEQuence | SAMPle SAMPle Unit Sample. A single sample is generated after a trigger event. SEQuence Unit Sequence Length. A single sequence is generated after a trigger event.
- get_slength() int[source]
# [SOURce<HW>]:BB:WLAD:TRIGger:SLENgth value: int = driver.source.bb.wlad.trigger.get_slength()
Sets the length of the signal sequence to be output in the ‘Single’ trigger mode (SOUR:BB:WLAD:SEQ SING) . The input is made in terms of samples. It is possible to output 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 4294967295
- get_source() TrigSour[source]
# [SOURce<HW>]:BB:WLAD:TRIGger:SOURce value: enums.TrigSour = driver.source.bb.wlad.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:WLAD:[TRIGger]:SEQuence driver.source.bb.wlad.trigger.set_sequence(sequence = enums.DmTrigMode.AAUTo)
Selects the trigger mode.
- Parameters:
sequence – AUTO | RETRigger | AAUTo | ARETrigger | SINGle AUTO The modulation signal is generated continuously. RETRigger The modulation signal is generated continuously. A trigger event (internal or external) causes a restart. AAUTo The modulation signal is generated only when a trigger event occurs. After the trigger event the signal is generated continuously. Signal generation is stopped with command SOUR:BB:WLAD:TRIG:ARM:EXEC and started again when a trigger event occurs. ARETrigger The modulation signal is generated only when a trigger event occurs. The device automatically toggles to RETRIG mode. Every subsequent trigger event causes a restart. Signal generation is stopped with command SOUR:BB:WLAD:TRIG:ARM:EXEC and started again when a trigger event occurs. SINGle The modulation signal is generated only when a trigger event occurs. Then the signal is generated once to the length specified with command SOUR:BB:WLAD:TRIG:SLEN. Every subsequent trigger event causes a restart.
- set_sl_unit(sl_unit: UnitSlB) None[source]
# [SOURce<HW>]:BB:WLAD:TRIGger:SLUNit driver.source.bb.wlad.trigger.set_sl_unit(sl_unit = enums.UnitSlB.SAMPle)
Sets the unit for the entry of the length of the signal sequence (SOUR:BB:WLAD:TRIG:SLEN) to be output in the Single trigger mode (SOUR:BB:WLAD:SEQ SING) .
- Parameters:
sl_unit – SEQuence | SAMPle SAMPle Unit Sample. A single sample is generated after a trigger event. SEQuence Unit Sequence Length. A single sequence is generated after a trigger event.
- set_slength(slength: int) None[source]
# [SOURce<HW>]:BB:WLAD:TRIGger:SLENgth driver.source.bb.wlad.trigger.set_slength(slength = 1)
Sets the length of the signal sequence to be output in the ‘Single’ trigger mode (SOUR:BB:WLAD:SEQ SING) . The input is made in terms of samples. It is possible to output 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 4294967295
- set_source(source: TrigSour) None[source]
# [SOURce<HW>]:BB:WLAD:TRIGger:SOURce driver.source.bb.wlad.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.wlad.trigger.clone()
Subgroups