TRIGger Commands (Set and query triggering)


Set or query a trigger detection date


Syntax


(Query)


:TRIGger:DETECTDate?

(response)

year<NR1>,month<NR1>,day<NR1>
year = 0 to 99 [Year]
month = 1 to 12 [Month]
day = 1 to 31 [Day]


Details


Returns the trigger detection date setting.


Example


:TRIGger:DETECTDate?
(response)  :TRIGGER:DETECTDATE 5,10,1  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Set or query a trigger detection time


Syntax


(Query)


:TRIGger:DETECTTime?

(response)

hour<NR1>,min<NR1>,sec<NR2>
hour = 0 to 23 [Time]
min = 0 to 59 [Minute]
sec = 0 to 59 [Second]


Details


Returns the trigger detection time setting.


Example


:TRIGger:DETECTTime?
(response)  :TRIGGER:DETECTTIME 12,34,56.00  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Set or query the number of events per trigger


Syntax


(Command)
(Query)


:TRIGger:EVENt CH$,A
:TRIGger:EVENt? CH$

(response)

CH$,A<NR1>
CH$ = CH1 to CH32
A = 1 to 4000


Details


Sets the number of events per trigger (A) for triggering channel CH$.
Returns the current setting of the number of events per trigger (A) for triggering channel CH$.


Example


:TRIGger:EVENt CH2,15
(Sets 15 events per trigger for CH2.)

:TRIGger:EVENt? CH2
(response)  :TRIGGER:EVENT CH2,15  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Enable/disable or query external triggering


Syntax


(Command)
(Query)


:TRIGger:EXTErnal A$
:TRIGger:EXTErnal?

(response)

A$
A$ = OFF, ON


Details


Enables and disables external triggering.
Returns the current external trigger on/off state as a text string


Example


:TRIGger:EXTErnal ON
:TRIGger:EXTErnal?
(response)  :TRIGGER:EXTERNAL ON  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Query trigger source


Syntax


(Query)


:TRIGger:FACTor?

(Response)

A$
A$ = CH1 to CH32, LA to LH, L1A to L8D, EXT, TIMER, MANU, AND, NONE


Details


Returns the source of the last trigger occurrence, as a text string.

CH1 to CH32  Analog channel
LA to LH Built-in Logic
L1A to L8D Logic Unit
EXT External Trigger
TIMER Timer Trigger
MANU Manual Trigger
AND AND condition is satisfied
NONE  


Example


:TRIGger:FACTor?
(Response)  :TRIGGER:FACTOR CH1  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query trigger filtering


Syntax


(Command)
(Query)


:TRIGger:FILTer CH$,A
:TRIGger:FILTer? CH$

(response)

CH$,A<NR2>
CH$ = CH1 to CH32
A = 0 to 10.0(DIV)  (MEM function, FFT function)
A = 0(OFF), 1(ON)  (REC function)


Details


Sets filter width A (divisions) for triggering channel CH$.
Returns the current filter width A as an NR2 numerical value for triggering channel CH$.

The filter width function is disabled when argument A = 0


Example


:TRIGger:FILTer CH1,0.5
(Sets the trigger width of CH1 to 0.5[div].)

:TRIGger:FILTer? CH1
(response)  :TRIGGER:FILTER CH1,0.5  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Set or query the type of trigger


Syntax


(Command)
(Query)


:TRIGger:KIND CH$,A$
:TRIGger:KIND? CH$

(response)

CH$,A$
CH$ = CH1 to CH32
A$ = OFF, LEVEl, IN, OUT, DROP, PERIIn, PERIOut, GLITch (MEM function, FFT function)
       OFF, LEVEl, IN, OUT, PERIIn, PERIOut (REC function)


Details


Sets the trigger type for channel CH$.
Returns as a text string the current trigger type for channel CH$.

OFF  
LEVEl  Level trigger
IN    Window in
OUT  Window out
DROP  Voltage drop
PERIIn  Period in
PERIOut  Period out
GLITch  Glitch trigger


Example


:TRIGger:KIND CH1,LEVEl
(Sets the trigger type for channel CH1 to "level trigger".)

:TRIGger:KIND? CH1
(response)  :TRIGGER:KIND CH1,LEVEL  (when headers are enabled)


Note


Applicable trigger types for the DVM unit are LEVEl, IN, OUT.


Usage
Conditions


MEM, REC, FFT




Set or query the trigger level


Syntax


(Command)
(Query)


:TRIGger:LEVEl CH$,A
:TRIGger:LEVEl? CH$

(response)

CH$,<NR3>
CH$ = CH1 to CH32
A = Level[V]


Details


Sets the trigger level for channel CH$.
Returns as an NR3 numerical value the current trigger level setting for CH$.


Example


:TRIGger:LEVEl CH1,50E-03
(Sets the trigger level for channel CH1 to 50 mV.)

:TRIGger:LEVEl? CH1
(response)  :TRIGGER:LEVEL CH1,5.0000E-02  (when headers are enabled)


Note


Applicable trigger types are level trigger, in-period trigger, out-of-period trigger and glitch trigger.


Usage
Conditions


MEM, REC, FFT




Set or query the logic trigger filter


Syntax


(Command)
(Query)


:TRIGger:LFILter A$,CH$,B
:TRIGger:LFILter? A$,CH$

(response)

A$,CH$,B<NR2>
A$ = L0 to L8
CH$ = CHA to CHH
B = 0 to 10.0(DIV)  (MEM function, FFT function)
B = 0(OFF), 1(ON)  (REC function)


Details


Sets the logic trigger filter width for channel CH$.
Returns the current logic trigger filter width setting as an NR2 numerical value.

The filter width function is disabled when argument B = 0.


Example


:TRIGger:LFILter L0,CHA,2.5
:TRIGger:LFILter? L0,CHA
(response)  :TRIGGER:LFILTER L0,CHA,2.5  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Set or query the AND/OR logical operator for the logic trigger pattern


Syntax


(Command)
(Query)


:TRIGger:LOGAnd A$,CH$,B$
:TRIGger:LOGAnd? A$,CH$

(response)

A$,CH$,B$
A$ = L0 to L8
CH$ = CHA to CHH
B$ = OFF, OR, AND


Details


Sets the AND/OR logical operator for the logic trigger pattern of channel CH$.
Returns the current AND/OR setting for the logic trigger pattern as a text string.

OFF  Triger OFF
OR  Logical sum
AND  Logical product


Example


:TRIGger:LOGAnd L0,CHA,OR
:TRIGger:LOGAnd? L0,CHA
(response)  :TRIGGER:LOGAND L0,CHA,OR  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Set or query the pattern for a logic trigger


Syntax


(Command)
(Query)


:TRIGger:LOGPat A$,CH$,"B$"
:TRIGger:LOGPat? A$,CH$

(response)

A$,CH$,"B$"
A$ = L0 to L8
CH$ = CHA to CHH
B$ = ****  (Trigger pattern: X, 0, 1)


Details


Specifies the logic trigger pattern for channel CH$.
Returns the current logic trigger pattern setting as a four-character string composed of the following characters:
X  Ignore signal
0  Trigger at low level
1  Trigger when the signal level changes. Triggering occurs just once after starting measurement.


Example


:TRIGger:LOGPat L0,CHB,"010X"
:TRIGger:LOGPat? L0,CHB
(response)  :TRIGGER:LOGPAT L0,CHB,"010X"  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Set or query the lower threshold of the window-in/out trigger


Syntax


(Command)
(Query)


:TRIGger:LOWEr CH$,A
:TRIGger:LOWEr? CH$

(response)

CH$,A<NR3>
CH$ = CH1 to CH32
A = Level[V]


Details


Sets the lower threshold of the window trigger for channel CH$.
Returns the current lower threshold of the window trigger for channel CH$ as an NR3 numerical value.


Example


:TRIGger:LOWEr CH1,-50E-03
(Sets the lower threshold of the window trigger for channel CH1 to -50 mV.)

:TRIGger:LOWEr? CH1
(response)  :TRIGGER:LOWER CH1,-5.0000E-02  (when headers are enabled)


Note


This command is valid when the trigger type is in-window or out-of-window.


Usage
Conditions


MEM, REC, FFT




Manually trigger measurement


Syntax


(Command)


:TRIGger:MANU



Details


Send this command to trigger the instrument while it is awaiting a trigger.


Example


:TRIGger:MANU


Note


-


Usage
Conditions


MEM, REC, FFT




Select or query trigger repetition mode


Syntax


(Command)
(Query)


:TRIGger:MODE A$
:TRIGger:MODE?

(response)

A$
A$ = SINGle, REPEat, AUTO


Details


Sets the trigger mode.
Returns the current trigger mode as a text string.

SINGle  Single
REPEat  Repeat
AUTO  Auto


Example


:TRIGger:MODE REPEat
:TRIGger:MODE?
(response)  :TRIGGER:MODE REPEAT  (when headers are enabled)


Note


Argument A$ cannot be set to AUTO with the Recorder function enabled.


Usage
Conditions


MEM, REC, FFT




Set or query the lower period threshold of the period trigger


Syntax


(Command)
(Query)


:TRIGger:PLOWer CH$,A
:TRIGger:PLOWer? CH$

(response)

CH$,A<NR3>
CH$ = CH1 to CH32
A = Lower level[sec]


Details


Sets the lower period threshold (A) of the period trigger for channel CH$.
Returns the current lower period threshold of the period trigger for channel CH$ as an NR3 numerical value.


Example


:TRIGger:PLOWer CH2,50E-06
(Sets the lower period threshold of the period trigger of channel CH2 to 50 µs.)

:TRIGger:PLOWer? CH2
(response)  :TRIGGER:PLOWER CH2,5.0000E-05  (when headers are enabled)


Note


This command is valid when the trigger type is in-period or out-of-period.


Usage
Conditions


MEM, REC, FFT




Set or query the pre-trigger interval


Syntax


(Command)
(Query)


:TRIGger:PRETrig A
:TRIGger:PRETrig?

(response)

A<NR1>
A = 0, 2, 5, to , 95, 100, -95 (%)
A = Recording length (div)


Details


Sets the pre-trigger interval.
When trying to set the value unable to set by the main unit, the setting value will be specified to the one upper value.
Returns the current setting of the pre-trigger interval as an NR1 numerical value.

Switching of the unit, please refer to the command :TRIGger:TYPE.


Example


:TRIGger:PRETrig 10
(Sets the pre-trigger interval to 10% of the recording interval.)

:TRIGger:PRETrig?
(response)  :TRIGGER:PRETRIG 10  (when headers are enabled)


:TRIGger:TYPE DIV
(The unit of pre-trigger is set as div)

:TRIGger:PRETrig 200
(Set the pre-trigger to 200div)

:TRIGger:PRETrig?
(response)  :TRIGGER:PRETRIG 200  (when headers are enabled)


Note


-


Usage
Conditions


MEM, FFT




Enable/disable or query the trigger priority mode


Syntax


(Command)
(Query)


:TRIGger:PRIOrity A$
:TRIGger:PRIOrity?

(response)

A$
A$ = OFF, ON


Details


Enables and disables the trigger priority mode.
Returns the current trigger priority mode setting as a text string.


Example


:TRIGger:PRIOrity OFF
:TRIGger:PRIOrity?
(response)  :TRIGGER:PRIORITY OFF  (when headers are enabled)


Note


-


Usage
Conditions


MEM, FFT




Set or query the upper period threshold of the period trigger


Syntax


(Command)
(Query)


:TRIGger:PUPPer CH$,A
:TRIGger:PUPPer? CH$

(response)

CH$,A<NR3>
CH$ = CH1 to CH32
A = Upper period threshold [seconds]


Details


Sets the upper period threshold (A) of the period trigger for channel CH$.
Returns the current upper period threshold of the period trigger for channel CH$ as an NR3 numerical value.


Example


:TRIGger:PUPPer CH2,50E-06
(Sets the upper period threshold of the period trigger of channel CH2 to 50 ms.)

:TRIGger:PUPPer? CH2
(response)  :TRIGGER:PUPPER CH2,5.0000E-05  (when headers are enabled)


Note


This command is valid when the trigger type is in-period or out-of-period.


Usage
Conditions


MEM, REC, FFT




Set or query the trigger direction (slope)


Syntax


(Command)
(Query)


:TRIGger:SLOPe CH$,A$
:TRIGger:SLOPe? CH$

(response)

CH$,A$
CH$ = CH1 to CH32
A$ = UP, DOWN, UPDOwn


Details


Sets the trigger slope direction (A$) of channel CH$.
Returns the current trigger slope direction of channel CH$ as a text string.

UP  Rising edge
DOWN  Falling edge
UPDOwn  Rising and falling edges


Example


:TRIGger:SLOPe CH1,UP
(Sets the trigger direction of channel CH1 to the rising edge.)

:TRIGger:SLOPe? CH1
(response)  :TRIGGER:SLOPe CH1,UP  (when headers are enabled)


Note


Argument B$ can be set to UPDOwn only when the Level trigger type has been selected.


Usage
Conditions


MEM, REC, FFT




Set or query the trigger source AND/OR logical operator


Syntax


(Command)
(Query)


:TRIGger:SOURce A$
:TRIGger:SOURce?

(response)

A$
A$ = OR, AND


Details


Sets the AND/OR logical operator for combining internal, logic, external and timer trigger sources.
Returns the current setting of the trigger AND/OR logical operator as a text string.

AND  Logical product
OR  Logical sum


Example


:TRIGger:SOURce OR
:TRIGger:SOURce?
(response)  :TRIGGER:SOURCE OR  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Query timer trigger stop date


Syntax


(Query)


:TRIGger:STOPDate?

(response)

year<NR1>,momth<NR1>,day<NR1>
year = 0 to 99
month = 1 to 12
day = 1 to 31


Details


Returns the current trigger acceptance stop date setting as an NR1 numerical value.


Example


:TRIGger:STOPDate?
(response)  :TRIGGER:STOPDATE 5,10,1  (when headers are enabled)


Note


-


Usage
Conditions


REC




Query timer trigger stop time


Syntax


(Query)


:TRIGger:STOPTime?

(response)

hour<NR1>,min<NR1>,sec<NR2>
hour = 0 to 23
min = 0 to 59
sec = 0 to 59


Details


Returns the current on/off setting of the trigger acceptance stop time.


Example


:TRIGger:STOPTime?
(response)  :TRIGGER:STOPTIME 1,2,3.00  (when headers are enabled)


Note


-


Usage
Conditions


REC




Enable/disable or query the timer trigger


Syntax


(Command)
(Query)


:TRIGger:TIMEr A$
:TRIGger:TIMEr?

(response)

A$
A$ = OFF, ON


Details


Enables and disables the timer trigger.
Returns the current on/off setting of the timer trigger as a text string.


Example


:TRIGger:TIMEr ON
:TRIGger:TIMEr?
(response)  :TRIGGER:TIMER ON  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Set or query trigger timing start/stop operation


Syntax


(Command)
(Query)


:TRIGger:TIMIng A$
:TRIGger:TIMIng?

(response)

A$
A$ = START, STOP, S_S


Details


Sets trigger timing start/stop operation.
Returns the current setting of the trigger timing start/stop operation as a text string.

START  Start
STOP  Stop
S_S  Start&Stop


Example


:TRIGger:TIMIng STOP
:TRIGger:TIMIng?
(response)  :TRIGGER:TIMING STOP  (when headers are enabled)


Note


-


Usage
Conditions


REC




Set or query the timer trigger interval


Syntax


(Command)
(Query)


:TRIGger:TMINTvl day,hour,min,sec
:TRIGger:TMINTvl?

(response)

day<NR1>,hour<NR1>,min<NR1>,sec<NR1>
day = 0 to 31
hour = 0 to 23
min = 0 to 59
sec = 0 to 59


Details


Sets the timer trigger interval.
Returns the current timer trigger interval setting as four NR1 numerical values.


Example


:TRIGger:TMINTvl 4,3,2,1
:TRIGger:TMINTvl?
(response)  :TRIGGER:TMINTVL 4,3,2,1  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Set or query the timer trigger start time


Syntax


(Command)
(Query)


:TRIGger:TMSTArt month,day,hour,min
:TRIGger:TMSTArt?

(response)

month<NR1>,day<NR1>,hour<NR1>,min<NR1>
month = 1 to 12
day = 1 to 31
hour = 0 to 23
min = 0 to 59


Details


Sets the timer trigger start time.
Returns the current timer trigger start time setting as four NR1 numerical values.


Example


:TRIGger:TMSTArt 10,1,2,3
:TRIGger:TMSTArt?
(response)  :TRIGGER:TMSTART 10,1,2,3  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Set or query the timer trigger stop time


Syntax


(Command)
(Query)


:TRIGger:TMSTOp month,day,hour,min
:TRIGger:TMSTOp?

(response)

month<NR1>,day<NR1>,hour<NR1>min<NR1>
month = 1 to 12
day = 1 to 31
hour = 0 to 23
min = 0 to 59


Details


Sets the timer trigger stop time.
Returns the current timer trigger stop time setting as four NR1 numerical values.


Example


:TRIGger:TMSTOp 10,1,2,3
:TRIGger:TMSTOp?
(response)  :TRIGGER:TMSTOP 10,1,2,3  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, FFT




Select or query the pre-trigger setting method


Syntax


(Command)
(Query)


:TRIGger:TYPE A$
:TRIGger:TYPE?

(Response)

A$
A$ = %, DIV


Details


Sets the method for defining the pre-trigger interval.
Return the current method defining the pre-trigger interval.

%   (Percentage)
DIV (Divisions)


Example


:TRIGger:TYPE %
:TRIGger:TYPE?
(Response)  :TRIGGER:TYPE %  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query the upper threshold of the window-in/-out trigger


Syntax


(Command)
(Query)


:TRIGger:UPPEr CH$,A
:TRIGger:UPPEr? CH$

(response)

CH$,A<NR3>
CH$ = CH1 to CH32
A = upper limit level[V]


Details


Sets the upper threshold (B) of the window trigger for channel CH$.
Returns the current upper threshold of the window trigger for channel CH$ as an NR3 numerical value.


Example


:TRIGger:UPPEr CH1,-50E-03
(Sets the upper threshold of the window trigger for channel CH1 to -50 mV.)

:TRIGger:UPPEr? CH1
(response)  :TRIGGER:UPPER CH1,-5.0000E-02  (when headers are enabled)


Note


This command is valid when the trigger type is in-window or out-of-window.


Usage
Conditions


MEM, REC, FFT




Select or query the measurement frequency of the voltage sag trigger


Syntax


(Command)
(Query)


:TRIGger:VFREq CH$,A
:TRIGger:VFREq? CH$

(Response)

CH$,A<NR1>
CH$ = CH1 to CH32
A = 50, 60 [Hz]


Details


Sets the measurement frequency of the voltage sag trigger for channel CH$.
Returns the current measurement frequency of the voltage sag trigger as an NR1 numerical value.


Example


:TRIGger:KIND CH1,DROP
(Sets the trigger type to voltage sag ["drop"].)

:TRIGger:VFREq CH1,50
(Sets the measurement frequency of the voltage sag trigger for CH1 to 50 Hz.)

:TRIGger:VFREq? CH1
(Response)  :TRIGGER:VFREQ CH1,50  (when headers are enabled)


Note


This command is valid when the trigger type is "drop".


Usage
Conditions


MEM, FFT




Set or query the sag threshold of the voltage sag trigger


Syntax


(Command)
(Query)


:TRIGger:VLEVel CH$,A
:TRIGger:VLEVel? CH$

(Response)

CH$,A<NR3>
CH$ = CH1 to CH32
A = Level[V]


Details


Sets the sag threshold of the voltage sag trigger for channel CH$.
Returns the current threshold of the voltage sag trigger as an NR3 numerical value.


Example


:TRIGger:KIND CH1,DROP
(Sets the trigger type to voltage sag ["drop"].)

:TRIGger:VLEVEl CH1,1.0E-03
(Sets the sag threshold of the voltage sag trigger for CH1 to 1 mV.)

:TRIGger:VLEVEl? CH1
(Response)  :TRIGGER:VLEVEl CH1,1.0000E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM, FFT
This command is valid when the trigger type is sag ("drop").




Set or query the glitch trigger width


Syntax


(Command)
(Query)


:TRIGger:WIDTh CH$,A
:TRIGger:WIDTh? CH$

(response)

CH$,A<NR3>
CH$ = CH1 to CH32
A = Trigger width [seconds]


Details


Sets the width of the glitch trigger.
Returns the current width of the glitch trigger.


Example


:TRIGger:WIDTh CH2,2.0E-03
(Sets the trigger width of channel CH2 to 2 ms.)

:TRIGger:WIDTh? CH2
(response)  :TRIGGER:WIDTh CH2,2.0000E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM, FFT