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
class TriggerCls[source]

Trigger commands group definition. 30 total commands, 7 Subgroups, 7 group commands

get_ptime() str[source]
# SCPI: [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.

return:

arb_trig_proc_time: string

get_rmode() TrigRunMode[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TRIGger:RMODe
value: enums.TrigRunMode = driver.source.bb.arbitrary.trigger.get_rmode()

Queries the status of waveform output.

return:

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]
# SCPI: [SOURce<HW>]:BB:ARBitrary:[TRIGger]:SEQuence
value: enums.DmTrigMode = driver.source.bb.arbitrary.trigger.get_sequence()


    INTRO_CMD_HELP: Selects the trigger mode:

    - AUTO = auto
    - RETRigger = retrigger
    - AAUTo = armed auto
    - ARETrigger = armed retrigger
    - SINGle = single

See also ‘About trigger modes’.

return:

sequence: AUTO| RETRigger| AAUTo| ARETrigger| SINGle

get_sl_unit() UnitSlB[source]
# SCPI: [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.

return:

sl_unit: SEQuence| SAMPle

get_slength() int[source]
# SCPI: [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.

return:

slength: integer The maximum value depends on the selected units [:SOURcehw]:BB:ARBitrary:TRIGger:SLUNit as follows: SAMPle: Max = 232-1 SEQuence: Max = 1000 Range: 1 to dynamic

get_smode() ArbTrigSegmModeNoEhop[source]
# SCPI: [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.

return:

smode: SAME| NEXT| SEQuencer| NSEam NSEam = Next Segment Seamless

get_source() TriggerSourceC[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TRIGger:SOURce
value: enums.TriggerSourceC = driver.source.bb.arbitrary.trigger.get_source()


    INTRO_CMD_HELP: 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:
    Table Header:

    - 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)

return:

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

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


    INTRO_CMD_HELP: Selects the trigger mode:

    - AUTO = auto
    - RETRigger = retrigger
    - AAUTo = armed auto
    - ARETrigger = armed retrigger
    - SINGle = single

See also ‘About trigger modes’.

param sequence:

AUTO| RETRigger| AAUTo| ARETrigger| SINGle

set_sl_unit(sl_unit: UnitSlB) None[source]
# SCPI: [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.

param sl_unit:

SEQuence| SAMPle

set_slength(slength: int) None[source]
# SCPI: [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.

param slength:

integer The maximum value depends on the selected units [:SOURcehw]:BB:ARBitrary:TRIGger:SLUNit as follows: SAMPle: Max = 232-1 SEQuence: Max = 1000 Range: 1 to dynamic

set_smode(smode: ArbTrigSegmModeNoEhop) None[source]
# SCPI: [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.

param smode:

SAME| NEXT| SEQuencer| NSEam NSEam = Next Segment Seamless

set_source(source: TriggerSourceC) None[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TRIGger:SOURce
driver.source.bb.arbitrary.trigger.set_source(source = enums.TriggerSourceC.BBSY)


    INTRO_CMD_HELP: 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:
    Table Header:

    - 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)

param source:

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

Cloning the Group

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

Subgroups