Trigger
SCPI Commands :
[SOURce<HW>]:BB:ARBitrary:TRIGger:PTIMe
[SOURce<HW>]:BB:ARBitrary:TRIGger:RMODe
[SOURce<HW>]:BB:ARBitrary:TRIGger:SLENgth
[SOURce<HW>]:BB:ARBitrary:TRIGger:SLUNit
[SOURce<HW>]:BB:ARBitrary:TRIGger:SMODe
[SOURce<HW>]:BB:ARBitrary:TRIGger:SOURce
[SOURce<HW>]:BB:ARBitrary:[TRIGger]:SEQuence
- Commands in total: 30Subgroups: 7Direct child commands: 7
- get_ptime() str[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:PTIMe value: str = driver.source.bb.arbitrary.trigger.get_ptime()
Queries the internal processing time. The processing time is the elapsed time between the input of the external trigger event and the output of the baseband signal.
- Returns:
arb_trig_proc_time: string
- get_rmode() TrigRunMode[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:RMODe value: enums.TrigRunMode = driver.source.bb.arbitrary.trigger.get_rmode()
Queries the status of waveform output.
- Returns:
rmode: STOP | RUN RUN Outputs the waveform. A trigger event occurred in the triggered mode. STOP No waveform output. A trigger event did not occur in the triggered modes, or waveform output was stopped/armed.
- get_sequence() DmTrigMode[source]
# [SOURce<HW>]:BB:ARBitrary:[TRIGger]:SEQuence value: enums.DmTrigMode = driver.source.bb.arbitrary.trigger.get_sequence()
Selects the trigger mode:
AUTO = auto
RETRigger = retrigger
AAUTo = armed auto
ARETrigger = armed retrigger
SINGle = single
See also ‘About trigger modes’.
- Returns:
sequence: AUTO | RETRigger | AAUTo | ARETrigger | SINGle
- get_sl_unit() UnitSlB[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:SLUNit value: enums.UnitSlB = driver.source.bb.arbitrary.trigger.get_sl_unit()
Sets the unit for the entry of the length of the signal sequence to be output in the Single trigger mode.
- Returns:
sl_unit: SEQuence | SAMPle
- get_slength() int[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:SLENgth value: int = driver.source.bb.arbitrary.trigger.get_slength()
Sets the length of the signal sequence that is output in the SINGle trigger mode.
- Returns:
slength: integer The maximum value depends on the selected units method
RsSmw.source.bb.arbitrary.trigger.sl_unit()as follows: SAMPle: Max = 232-1 SEQuence: Max = 1000 Range: 1 to dynamic
- get_smode() ArbTrigSegmModeNoEhop[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:SMODe value: enums.ArbTrigSegmModeNoEhop = driver.source.bb.arbitrary.trigger.get_smode()
Selects the extended trigger mode for multi segment waveforms.
- Returns:
smode: SAME | NEXT | SEQuencer | NSEam NSEam = Next Segment Seamless
- get_source() TrigSour[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:SOURce value: enums.TrigSour = driver.source.bb.arbitrary.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:ARBitrary:[TRIGger]:SEQuence driver.source.bb.arbitrary.trigger.set_sequence(sequence = enums.DmTrigMode.AAUTo)
Selects the trigger mode:
AUTO = auto
RETRigger = retrigger
AAUTo = armed auto
ARETrigger = armed retrigger
SINGle = single
See also ‘About trigger modes’.
- Parameters:
sequence – AUTO | RETRigger | AAUTo | ARETrigger | SINGle
- set_sl_unit(sl_unit: UnitSlB) None[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:SLUNit driver.source.bb.arbitrary.trigger.set_sl_unit(sl_unit = enums.UnitSlB.SAMPle)
Sets the unit for the entry of the length of the signal sequence to be output in the Single trigger mode.
- Parameters:
sl_unit – SEQuence | SAMPle
- set_slength(slength: int) None[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:SLENgth driver.source.bb.arbitrary.trigger.set_slength(slength = 1)
Sets the length of the signal sequence that is output in the SINGle trigger mode.
- Parameters:
slength – integer The maximum value depends on the selected units method
RsSmw.source.bb.arbitrary.trigger.sl_unit()as follows: SAMPle: Max = 232-1 SEQuence: Max = 1000 Range: 1 to dynamic
- set_smode(smode: ArbTrigSegmModeNoEhop) None[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:SMODe driver.source.bb.arbitrary.trigger.set_smode(smode = enums.ArbTrigSegmModeNoEhop.NEXT)
Selects the extended trigger mode for multi segment waveforms.
- Parameters:
smode – SAME | NEXT | SEQuencer | NSEam NSEam = Next Segment Seamless
- set_source(source: TrigSour) None[source]
# [SOURce<HW>]:BB:ARBitrary:TRIGger:SOURce driver.source.bb.arbitrary.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.arbitrary.trigger.clone()
Subgroups