Trigger and data retrieval

SCPI.TRIGger.SEQunce.STATus

Attribute Detail
Object Type Property (read only)
Data Type String
Target Analyzer
Description Returns the trigger system status of the analyzer.
Return value "HOLD" : Hold
"WAIT" : Wait for Trigger
"MEAS" : Measurement
Syntax Dim Param As String
Param = app.SCPI.TRIGger.SEQuence.STATus
Equivalent Softkeys None

SCPI.TRIGger.SEQuence.WAIT(STATus)

Attribute Detail
Object Type Method
Target Analyzer
Description Waits for the specified status of the trigger system. Blocks the programm execution until the specified status of the analyzer has been reached.
Parameter Status of String type:
"HOLD" : Hold
"WAIT" : Wait for Trigger
"MEAS" : Measurement
Syntax app.SCPI.TRIGger.SEQuence.WAIT("HOLD")
Equivalent Softkeys None

SCPI.TRIGger.SEQuence.SINGle

Attribute Detail
Object Type Method
Target Analyzer
Description Generates a trigger, independently of the trigger source setting (except for the External). If the trigger source is set to External, an error occurs (error code 221) and the command is ignored.
If the analyzer is not in the waiting for a trigger state (sweep is in progress or all the channels are set to Hold), an error occurs (error code 211) and the command is ignored.
The method does not return control before the end of the sweep (waiting for the completion of the sweep of all the channels).
Syntax app.SCPI.TRIGger.SEQuence.SINGle
Related Commands SCPI.TRIGger.SEQuence.SOURce
SCPI.INITiate(Ch).CONTinuous
SCPI.INITiate(Ch).IMMediate
Equivalent Softkeys None

SCPI.INITiate(Ch).IMMediate

Attribute Detail
Object Type Method
Target Channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description Sets the channel to the single trigger mode. Before this method is called, the channel must be in hold state, otherwise an error occurs (error code 213) and the method is ignored.
On completion of the sweep, the channel goes back into the hold state.
The method returns control before the end of the sweep.
Syntax app.SCPI.INITiate(Ch).IMMediate
Notes The sweep start in the single trigger mode depends on the trigger source. If the trigger is set to internal, the sweep will start immediately after the method is called. If the trigger is set otherwise, the sweep will start when the trigger signal is received.
Equivalent Softkeys Stimulus > Trigger > Single

SCPI.TRIGger.SEQuence.IMMediate

Attribute Detail
Object Type Method
Target Analyzer
Description Generates a trigger, independently of the trigger source setting (except for the External). If the trigger source is set to External, an error occurs (error code 221) and the command is ignored.
If the analyzer is not in the waiting for a trigger state (sweep is in progress or all the channels are set to Hold), an error occurs (error code 211) and the command is ignored.
The method returns control before the end of the sweep.
Syntax app.SCPI.TRIGger.SEQuence.IMMediate
Related Commands SCPI.TRIGger.SEQuence.SOURce
SCPI.INITiate(Ch).CONTinuous
SCPI.INITiate(Ch).IMMediate
Equivalent Softkeys None

SCPI.INITiate(Ch).CONTinuous

Attribute Detail
Object Type Property (read/write)
Data Type Boolean
Target Channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The ON/OFF state of the continuous trigger initiation mode. If the continuous trigger initiation mode is set to OFF, the channel turns to the hold state.
Allowable Values True: Continuous trigger initiation mode ON
False: Continuous trigger initiation mode OFF
Preset Value True
Syntax Dim Status As Boolean
Status = app.SCPI.INITiate(Ch).CONTinuous
app.SCPI.INITiate(Ch).CONTinuous = False
Notes The sweep start in continuous trigger initiation mode depends on the trigger source. If the trigger is set to internal, the sweeps will go immediately one after another. If the trigger is set otherwise, the sweep will start when the trigger signal is received.
Equivalent Softkeys Stimulus > Trigger > Continuous
Stimulus > Trigger > Hold

SCPI.TRIGger.SEQuence.SOURce

Attribute Detail
Object Type Property (read/write)
Data Type String
Target Analyzer
Description Selects the sweep trigger source.
Range "INTernal" : Internal
"EXTernal" : External
"MANual" : Manual
"BUS" : Bus
Notes The short form of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range An error occurs. Error code: 205.
Preset Value "INT"
Syntax Dim Param As String
Param = app.SCPI.TRIGger.SEQuence.SOURce
app.SCPI.TRIGger.SEQuence.SOURce = "BUS"
Related Commands SCPI.TRIGger.SEQuence.IMMediate
SCPI.TRIGger.SEQuence.SINGle
SCPI.IEEE4882.TRG
Equivalent Softkeys Stimulus > Trigger > Trigger Source > { Internal / External / Manual / Bus }

Ext Trigger

See subchapter Ext Trigger

Trigger Output

See subchapter Trigger Output

SCPI.TRIGger.SEQuence.SCOPe

Attribute Detail
Object Type Property (read/write)
Data Type String
Target Analyzer
Description Selects the trigger scope.
Range "ALL" : All Channels
"ACTive" : Active Channel
Notes The short form of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range An error occurs. Error code: 205.
Preset Value "ALL"
Syntax Dim Param As String
Param = app.SCPI.TRIGger.SEQuence.SCOPe
app.SCPI.TRIGger.SEQuence.SCOPe = "ACT"
Related Commands SCPI.TRIGger.SEQuence.IMMediate
SCPI.TRIGger.SEQuence.SINGle
SCPI.IEEE4882.TRG
Equivalent Softkeys Stimulus > Trigger > Trigger Scope > { All Channels / Active Channel }

SCPI.ABORt

Attribute Detail
Object Type Method
Description Aborts the sweep and switches the triggers of all the channels to Hold. The channels in Continuous trigger mode switch to waiting for a trigger. If the trigger source is set to Internal, the channel from waiting for a trigger turns to a new sweep.
Syntax app.SCPI.ABORt
Equivalent Softkeys Stimulus > Trigger > Restart