TRIGger Commands (Set and query triggering)


Set or query the channels to trigger


Syntax


(Command)
(Query)


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

(Response)

:CH A,B,C$,CH$
A = 1 to 4 (module number)
B = 1 to 4 (trigger number)
C$ = STARt, STOP (trigger timing)
CH$ = CH1_1 to CH4_15, W1_1 to W4_2


Details


Sets the channels to apply the start or stop triggers.
The settings will be returned as a text string.

STARt  (Start trigger)
STOP  (Stop trigger)


Example


:TRIGger:CH 1,1,STARt,CH1_1
:TRIGger:CH? 1,1,STARt
(Response)  :TRIGGER:CH 1,1,START,CH1_1  (when headers are enabled)


Note


-


Usage
Conditions


W1_1 to W4_2 is available in V2.00 or later.




Query a trigger detection date


Syntax


(Query)


:TRIGger:DETECTDate? A$

(Response)

A$,B<NR1>,C<NR1>,D<NR1>
A$ = STARt, STOP
A = 0 to 99 (year)
B = 1 to 12 (month)
C = 1 to 31 (day)


Details


Returns the trigger detection date setting.

STARt  (Start trigger)
STOP  (Stop trigger)


Example


:TRIGger:DETECTDate? STARt
(Response)  :TRIGGER:DETECTDATE START,2000,1,1  (when headers are enabled)


Note


-


Usage
Conditions


-




Query a trigger detection time


Syntax


(Query)


:TRIGger:DETECTTime? A$

(Response)

A$,B<NR1>,C<NR1>,D<NR2>
A$ = STARt, STOP
B = 0 to 23 (hour)
C = 0 to 59 (min)
D = 0 to 59 (sec)


Details


Returns the trigger detection time setting.

STARt  (Start trigger)
STOP  (Stop trigger)


Example


:TRIGger:DETECTTime? STARt
(Response)  :TRIGGER:DETECTTIME START,12,00,00.000  (when headers are enabled)


Note


-


Usage
Conditions


-




Enable or disable the trigger function


Syntax


(Command)
(Query)


:TRIGger:ENABle A$
:TRIGger:ENABle?

(Response)

A$
A$ = OFF, ON


Details


Makes settings for the trigger function.
The settings will be returned as a text string.


Example


:TRIGger:ENABle ON
:TRIGger:ENABle?
(Response)  :TRIGGER:ENABLE ON  (when headers are enabled)


Note


-


Usage
Conditions


-




Enable/disable or query external triggering


Syntax


(Command)
(Query)


:TRIGger:EXTErnal A$,B$
:TRIGger:EXTErnal? A$

(Response)

A$,B$
A$ = STARt, STOP
B$ = OFF, UP, DOWN


Details


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

STARt  (Start trigger)
STOP  (Stop trigger)

OFF
UP  (Rising edge)
DOWN  (Falling edge)


Example


:TRIGger:EXTErnal STARt,UP
:TRIGger:EXTErnal? STARt
(Response)  :TRIGGER:EXTERNAL START,UP  (when headers are enabled)


Note


-


Usage
Conditions


-




Set or query the external trigger filter settings


Syntax


(Command)
(Query)


:TRIGger:EXTFilter A$
:TRIGger:EXTFilter?

(Response)

A$
A$ = OFF, ON


Details


Makes ON/OFF settings for the external trigger filter.
The settings will be returned as a text string.


Example


:TRIGger:EXTFilter ON
:TRIGger:EXTFilter?
(Response)  :TRIGGER:EXTFILTER OFF  (when headers are enabled)


Note


-


Usage
Conditions


-




Set or query trigger filtering


Syntax


(Command)
(Query)


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

(Response)

CH$,A$,B<NR1>
CH$ = CH1_1 to CH4_15, P1 to P2, LA to LB, L1 to L4, W1_1 to W4_2
A$ = STARt, STOP
B = 0, 10, 20, 50, 100, 200, 500, 1000


Details


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

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

STARt  (Start trigger)
STOP  (Stop trigger)


Example


:TRIGger:FILTer CH1_1,STARt,10
:TRIGger:FILTer? CH1_1,STARt
(Response)  :TRIGGER:FILTER CH1_1,START,10  (when headers are enabled)


Note


-


Usage
Conditions


W1_1 to W4_2 is available in V2.00 or later.




Set or query the type of trigger


Syntax


(Command)
(Query)


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

(Response)

CH$,B$
CH$ = CH1_1 to CH4_15, P1 to P2, W1_1 to W4_2, LAT, LON, ALT, DIR, SPD, DST
A$ = STARt, STOP
B$ = OFF, LEVEl, IN, OUT


Details


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

STARt  (Start trigger)
STOP  (Stop trigger)

OFF
LEVEl
IN (Window in-trigger)
OUT (Window out-trigger)


Example


:TRIGger:KIND CH1_1,STARt,LEVEl
:TRIGger:KIND? CH1_1,STARt
(Response)  :TRIGGER:KIND CH1_1,START,LEVEL  (when headers are enabled)


Note


-


Usage
Conditions


W1_1 to W4_2 is available in V2.00 or later.
LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.




Set or query the trigger level (for level triggering)


Syntax


(Command)
(Query)


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

(Response)

CH$,A$,B<NR3>
CH$ = CH1_1 to CH4_15, P1 to P2, W1_1 to W4_2, LAT, LON, ALT, DIR, SPD, DST
A$ = STARt, STOP
B = Level


Details


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

STARt  (Start trigger)
STOP  (Stop trigger)


Example


:TRIGger:LEVEl CH1_1,STARt,50E-03
:TRIGger:LEVEl? CH1_1,STARt
(Response)  :TRIGGER:LEVEL CH1_1,START,+50.000E-03  (when headers are enabled)


Note


Applicable trigger types are level trigger.


Usage
Conditions


W1_1 to W4_2 is available in V2.00 or later.
LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.




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


Syntax


(Command)
(Query)


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

(Response)

CH$,A$,B$
CH$ = LA to LB, L1 to L4
A$ = STARt, STOP
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.

STARt  (Start trigger)
STOP  (Stop trigger)

OFF
OR  (Logical sum)
AND  (Logical product)


Example


:TRIGger:LOGAnd LA,STARt,OR
:TRIGger:LOGAnd? LA,STARt
(Response)  :TRIGGER:LOGAND LA,START,OR  (when headers are enabled)


Note


-


Usage
Conditions


-




Set or query the pattern for a logic trigger


Syntax


(Command)
(Query)


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

(Response)

CH$,A$,"B$"
CH$ = LA to LB, L1 to L4
A$ = STARt, STOP
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:

STARt  (Start trigger)
STOP  (Stop trigger)

X  (Ignore signal)
0  (Trigger at low level)
1  (Trigger at high level)


Example


:TRIGger:LOGPat LA,STARt,"010X"
:TRIGger:LOGPat? LA,STARt
(Response)  :TRIGGER:LOGPAT LA,START,"010X"  (when headers are enabled)

:TRIGger:LOGPat L1,STARt,"XXXX00001111XXXX"
:TRIGger:LOGPat? L1,STARt
(Response)  :TRIGGER:LOGPAT L1,START,"XXXX00001111XXXX"  (when headers are enabled)


Note


-


Usage
Conditions


-




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


Syntax


(Command)
(Query)


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

(Response)

CH$,B<NR3>
CH$ = CH1_1 to CH4_15, P1 to P2, W1_1 to W4_2, LAT, LON, ALT, DIR, SPD, DST
A$ = STARt, STOP
B = Level


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.

STARt  (Start trigger)
STOP  (Stop trigger)


Example


:TRIGger:LOWEr CH1_1,STARt,-50E-03
:TRIGger:LOWEr? CH1_1,STARt
(Response)  :TRIGGER:LOWER CH1_1,START,-50.000E-03  (when headers are enabled)


Note


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


Usage
Conditions


W1_1 to W4_2 is available in V2.00 or later.
LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.




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


-




Select or query trigger repetition mode


Syntax


(Command)
(Query)


:TRIGger:MODE A$(,B)
:TRIGger:MODE?

(Response)

A$(,B)
A$ = SINGle, REPEat
B = 2 to 10000 (A$ = REPEat; may be omitted.)


Details


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

SINGle  (one-shot)
REPEat


Example


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


Note


-


Usage
Conditions


"B" is available in V2.10 or lator.




Set or query the post-trigger interval


Syntax


(Command)
(Query)


:TRIGger:POSTtrig A
:TRIGger:POSTtrig?

(Response)

A<NR1>
A = 0 to +100 [percent of recording interval], or
A = 0 to [Recording length] [divisions]


Details


Sets the post-trigger interval.
Returns the current setting of the post-trigger interval as an NR1 numerical value.


Example


:TRIGger:TYPE %
(Sets the pre-trigger setting method to "%" [percent].)

:TRIGger:POSTtrig 10
(Sets the post-trigger interval to 10% of the recording interval.)

:TRIGger:POSTtrig?
(Response)  :TRIGGER:POSTTRIG 10  (when headers are enabled)

:TRIGger:TYPE DIV
(Sets the post-trigger setting method to "DIV" [divisions].)

:TRIGger:POSTtrig 200
(Sets the post-trigger interval to 200 divisions.)

:TRIGger:POSTtrig?
(Response)  :TRIGGER:POSTTRIG 200  (when headers are enabled)


Note


-


Usage
Conditions


When the trigger timing is "Stop" or "Start&Stop"




Set or query the pre-trigger interval


Syntax


(Command)
(Query)


:TRIGger:PRETrig A
:TRIGger:PRETrig?

(Response)

A<NR1>
A = 0 to +100 [percent of recording interval], or
A = 0 to [Recording length] [divisions]


Details


Sets the pre-trigger interval.
Returns the current setting of the pre-trigger interval as an NR1 numerical value.


Example


:TRIGger:TYPE %
(Sets the pre-trigger setting method to "%" [percent].)

: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
(Sets the pre-trigger setting method to "DIV" [divisions].)

:TRIGger:PRETrig 200
(Sets the pre-trigger interval to 200 divisions.)

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


Note


-


Usage
Conditions


When the trigger timing is "Start" or "Start&Stop"




Set or query the trigger direction (slope)


Syntax


(Command)
(Query)


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

(Response)

CH$,A$,B$
CH$ = CH1_1 to CH4_15, P1 to P2, W1_1 to W4_2, LAT, LON, ALT, DIR, SPD, DST
A$ = STARt, STOP
B$ = UP, DOWN


Details


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

STARt  (Start trigger)
STOP  (Stop trigger)

UP  (Rising edge)
DOWN  (Falling edge)


Example


:TRIGger:SLOPe CH1_1,STARt,UP
:TRIGger:SLOPe? CH1_1,STARt
(Response)  :TRIGGER:SLOPE CH1_1,START,UP  (when headers are enabled)


Note


-


Usage
Conditions


W1_1 to W4_2 is available in V2.00 or later.
LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.




Set or query the trigger source AND/OR logical operator


Syntax


(Command)
(Query)


:TRIGger:SOURce A$,B$
:TRIGger:SOURce? A$

(Response)

A$,B$
A$ = STARt, STOP
B$ = OR, AND


Details


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

STARt  (Start trigger)
STOP  (Stop trigger)

AND  (Logical product)
OR  (Logical sum)


Example


:TRIGger:SOURce STARt,OR
:TRIGger:SOURce? STARt
(Response)  :TRIGGER:SOURCE START,OR  (when headers are enabled)


Note


-


Usage
Conditions


-




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.

OFF
ON


Example


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


Note


-


Usage
Conditions


-




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
STOP
S_S  (Start & Stop)


Example


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


Note


-


Usage
Conditions


-




Set or query the timer trigger interval


Syntax


(Command)
(Query)


:TRIGger:TMINTvl A,B,C,D
:TRIGger:TMINTvl?

(Response)

A<NR1>,B<NR1>,C<NR1>,D<NR1>
A = 0 to 99 (day)
B = 0 to 23 (hour)
C = 0 to 59 (min)
D = 0 to 59 (sec)


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


-




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


-




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


Syntax


(Command)
(Query)


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

(Response)

CH$,B<NR3>
CH$ = CH1_1 to CH4_15, P1 to P2, W1_1 to W4_2, LAT, LON, ALT, DIR, SPD, DST
A$ = STARt, STOP
B = Level


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_1,STARt,50E-03
:TRIGger:UPPEr? CH1_1,STARt
(Response)  :TRIGGER:UPPER CH1_1,START,+50.0000E-03  (when headers are enabled)


Note


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


Usage
Conditions


W1_1 to W4_2 is available in V2.00 or later.
LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.