Trigger
SCPI Commands :
[SOURce<HW>]:BB:ONEWeb:TRIGger:RMODe
[SOURce<HW>]:BB:ONEWeb:TRIGger:SLENgth
[SOURce<HW>]:BB:ONEWeb:TRIGger:SLUNit
[SOURce<HW>]:BB:ONEWeb:TRIGger:SOURce
[SOURce<HW>]:BB:ONEWeb:[TRIGger]:SEQuence
- Commands in total: 30Subgroups: 7Direct child commands: 5
- get_rmode() TrigRunMode[source]
# [SOURce<HW>]:BB:ONEWeb:TRIGger:RMODe value: enums.TrigRunMode = driver.source.bb.oneweb.trigger.get_rmode()
Queries the signal generation status.
- Returns:
trig_run_mode: STOP | RUN
- get_sequence() DmTrigMode[source]
# [SOURce<HW>]:BB:ONEWeb:[TRIGger]:SEQuence value: enums.DmTrigMode = driver.source.bb.oneweb.trigger.get_sequence()
Selects the trigger mode:
AUTO = auto
RETRigger = retrigger
AAUTo = armed auto
ARETrigger = armed retrigger
SINGle = single
- Returns:
trig_mode: AUTO | RETRigger | AAUTo | ARETrigger | SINGle
- get_sl_unit() Unit[source]
# [SOURce<HW>]:BB:ONEWeb:TRIGger:SLUNit value: enums.Unit = driver.source.bb.oneweb.trigger.get_sl_unit()
Defines the unit for the entry of the signal sequence length, generated after the trigger event.
- Returns:
seq_len_unit: SEQuence | FRAMe | SUBFrame | SLOT | SAMPle FRAMe Single frame SEQuence Single sequence. SUBFrame Single subframe. SLOT Single slot SAMPle Selected number of samples.
- get_slength() int[source]
# [SOURce<HW>]:BB:ONEWeb:TRIGger:SLENgth value: int = driver.source.bb.oneweb.trigger.get_slength()
Defines the length of the signal sequence that is output in the SINGle trigger mode.
- Returns:
trig_seq_len: integer Range: 1 to 4294967295
- get_source() TrigSour[source]
# [SOURce<HW>]:BB:ONEWeb:TRIGger:SOURce value: enums.TrigSour = driver.source.bb.oneweb.trigger.get_source()
Selects the trigger signal source and determines the way the triggering is executed. Provided are:
Internal triggering by a command (INTernal)
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
Internal triggering by a signal from the other basebands (INTA | INTB)
OBASeband | BEXTernal | EXTernal: Setting only Provided only for backward
compatibility with other Rohde & Schwarz signal generators. The R&S SMW accepts these values and maps them automatically as follows: EXTernal = EGT1, BEXTernal = EGT2, OBASeband = INTA or INTB (depending on the current baseband)
- Returns:
trig_sour: INTB | INTernal | OBASeband | EGT1 | EGT2 | EGC1 | EGC2 | ELTRigger | INTA | ELCLock | BEXTernal | EXTernal
- set_sequence(trig_mode: DmTrigMode) None[source]
# [SOURce<HW>]:BB:ONEWeb:[TRIGger]:SEQuence driver.source.bb.oneweb.trigger.set_sequence(trig_mode = enums.DmTrigMode.AAUTo)
Selects the trigger mode:
AUTO = auto
RETRigger = retrigger
AAUTo = armed auto
ARETrigger = armed retrigger
SINGle = single
- Parameters:
trig_mode – AUTO | RETRigger | AAUTo | ARETrigger | SINGle
- set_sl_unit(seq_len_unit: Unit) None[source]
# [SOURce<HW>]:BB:ONEWeb:TRIGger:SLUNit driver.source.bb.oneweb.trigger.set_sl_unit(seq_len_unit = enums.Unit.FRAMe)
Defines the unit for the entry of the signal sequence length, generated after the trigger event.
- Parameters:
seq_len_unit – SEQuence | FRAMe | SUBFrame | SLOT | SAMPle FRAMe Single frame SEQuence Single sequence. SUBFrame Single subframe. SLOT Single slot SAMPle Selected number of samples.
- set_slength(trig_seq_len: int) None[source]
# [SOURce<HW>]:BB:ONEWeb:TRIGger:SLENgth driver.source.bb.oneweb.trigger.set_slength(trig_seq_len = 1)
Defines the length of the signal sequence that is output in the SINGle trigger mode.
- Parameters:
trig_seq_len – integer Range: 1 to 4294967295
- set_source(trig_sour: TrigSour) None[source]
# [SOURce<HW>]:BB:ONEWeb:TRIGger:SOURce driver.source.bb.oneweb.trigger.set_source(trig_sour = enums.TrigSour.BBSY)
Selects the trigger signal source and determines the way the triggering is executed. Provided are:
Internal triggering by a command (INTernal)
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
Internal triggering by a signal from the other basebands (INTA | INTB)
OBASeband | BEXTernal | EXTernal: Setting only Provided only for backward
compatibility with other Rohde & Schwarz signal generators. The R&S SMW accepts these values and maps them automatically as follows: EXTernal = EGT1, BEXTernal = EGT2, OBASeband = INTA or INTB (depending on the current baseband)
- Parameters:
trig_sour – INTB | INTernal | OBASeband | EGT1 | EGT2 | EGC1 | EGC2 | ELTRigger | INTA | ELCLock | BEXTernal | EXTernal
Cloning the Group
# Create a copy of the original group, that exists independently
trigger_copy = driver.source.bb.oneweb.trigger.clone()
Subgroups