SEARch Commands (Search)


Set or query search time

8860, 8861


Syntax


(Command)
(Query)


:SEARch:ATIMe Y,M,D,H,M,S,ms,us
:SEARch:ATIMe?

(Response)

Y<NR1>,M<NR1>,D<NR1>,H<NR1>,M<NR1>,S<NR1>,ms<NR1>,μs<NR1>
Y = 0 to 99 [years]
M = 1 to 12 [months]
D = 1 to 30 [days]
H = 0 to 23 [hours]
M = 0 to 59 [minutes]
S = 0 to 59 [seconds]
ms = 0 to 999 [milliseconds]
μs = 0 to 999 [microseconds]


Details


Sets the search time.
Returns the current search time setting.


Example


:SEARch:ATIMe 6,3,27,8,2,21,0,0
:SEARch:ATIMe?
(Response)  :SEARCH:ATIME 6,3,27,8,2,21,0,0  (when headers are enabled)


Note


-


Usage
Conditions


MEM,REC, REAL, REC&MEM




Set or query search dialog auto close

8860, 8861


Syntax


(Command)
(Query)


:SEARch:CLOSe A$
:SEARch:CLOSe?

(Response)

A$
A$ = OFF, ON


Details


Set whether to automatically close the search dialog when finished searching.
Returns indication of whether the search dialog is set to automatically close when finished searching, as a text string.


Example


:SEARch:CLOSe ON
:SEARch:CLOSe?
(Response)  :SEARCH:CLOSE ON  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REC, REAL, REC&MEM




Set or query trigger search conditions

8860, 8861


Syntax


(Command)
(Query)


:SEARch:CONDition A$
:SEARch:CONDition?

(Response)

A$
A$: A1 to A8, L1 to L4


Details


Sets the trigger search conditions.
Returns the current trigger search conditions, as a text string.

A1 to A8  Analog trigger
L1 to L4  Logic trigger


Example


:SEARch:CONDition L1
:SEARch:CONDition?
(Response)  :SEARCH:CONDITION L1  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Move the cursor to the search position

8860, 8861


Syntax


(Command)


:SEARch:CURSor A$

A$ = ACSR, BCSR


Details


Moves the cursor specified by A$ to the search position.

ACSR  Cursor A
BCSR  Cursor B


Example


:SEARch:CURSor ACSR


Note


-


Usage
Conditions


MEM, REC, REAL, REC&MEM




Execute search

8860, 8861


Syntax


(Command)


:SEARch:EXEC (A$)

A$ = NEXT (may be omitted)


Details


Executes a search.
When NEXT is specified for A$, the search proceeds to the next point that matches the search conditions.


Example


:SEARch:EXEC


Note


-


Usage
Conditions


MEM, REC, REAL, REC&MEM




Set or query peak search filtering

8860, 8861


Syntax


(Command)
(Query)


:SEARch:FILTer A
:SEARch:FILTer?

(Response)

A<NR2>
A = 0.0 to 10.0


Details


Sets peak search filtering.
Returns the current peak search filter setting as numerical value.

When A = 0, filtering is disabled.


Example


:SEARch:FILTer 1.5
:SEARch:FILTer?
(Response)  :SEARCH:FILTER 1.5  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the trigger level

8860, 8861


Syntax


(Command)
(Query)


:SEARch:LEVEl A
:SEARch:LEVEl?

(Response)

A<NR3>
A = trigger level


Details


Sets the trigger level.
Returns the current trigger level as a numerical value.


Example


:SEARch:LEVEl +1.0000E-03
:SEARch:LEVEl?
(Response)  :SEARCH:LEVEL +1.0000E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query logic trigger AND/OR conditions

8860, 8861


Syntax


(Command)
(Query)


:SEARch:LOGAnd A$
:SEARch:LOGAnd?

(Response)

A$
A$ = OFF, OR, AND


Details


Sets the logic trigger conditions.
Returns the logic trigger condition setting as a text string.


OFF  (trigger off)
OR  (logical sum)
AND  (logical product)


Example


:SEARch:LOGAnd AND
:SEARch:LOGAnd?
(Response)  :SEARCH:LOGAND AND  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the logic trigger pattern (mask)

8860, 8861


Syntax


(Command)
(Query)


:SEARch:LOGPat "A$"
:SEARch:LOGPat?

(Response)

"A$"
A$ = **** (Trigger mask: X, 0, 1 or 2)


Details


Sets the logic trigger pattern (mask).
Returns the logic trigger mask as a text string.

X  (signals are ignored)
0  (trigger on low level signal)
1  (trigger on high level signal)
2  (trigger when the signal level changes)


Example


:SEARch:LOGPat "X012"
:SEARch:LOGPat?
(Response)  :SEARCH:LOGPAT "X012"  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the lower threshold for in-/out- window triggering

8860, 8861


Syntax


(Command)
(Query)


:SEARch:LOWEr A
:SEARch:LOWEr?

(Response)

A<NR3>
A = lower threshold


Details


Sets the lower threshold for in-/out- window triggering.
Returns the lower threshold for in-/out- window triggering.


Example


:SEARch:LOWEr -1.0000E-03
:SEARch:LOWEr?
(Response)  :SEARCH:LOWER -1.0000E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the search method

8860, 8861


Syntax


(Command)
(Query)


:SEARch:METHod A$
:SEARch:METHod?

(Response)

A$
A$ = TRIGger, TIME, PEAK


Details


Sets the search method.
Returns the current search method as a text string.

TRIGger
TIME
PEAK


Example


:SEARch:METHod PEAK
:SEARch:METHod?
(Response)  :SEARCH:METHOD PEAK  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the module for peak search

8860, 8861


Syntax


(Command)
(Query)


:SEARch:MODUle CH$
:SEARch:MODUle?

(Response)

CH$
CH$ = CHm_n


Details


Sets the module to use for peak search.
Returns the module set for peak search, as a text string.


Example


:SEARch:MODUle CH1_1
:SEARch:MODUle?
(Response)  :SEARCH:MODULE CH1_1  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the peak search method

8860, 8861


Syntax


(Command)
(Query)


:SEARch:PEAK A$
:SEARch:PEAK?

(Response)

A$
A$ = MAX, MIN, LMAX, LMIN


Details


Sets the search method for peak search.
Returns the search method for peak search, as a text string.

MAX  global maximum
MIN  global minimum
LMAX  local maximum
LMIN  local minimum


Example


:SEARch:PEAK MAX
:SEARch:PEAK?
(Response)  :SEARCH:PEAK MAX  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the lower threshold for the period trigger

8860, 8861


Syntax


(Command)
(Query)


:SEARch:PLOWer A
:SEARch:PLOWer?

(Response)

A<NR3>
A = lower threshold


Details


Sets the lower threshold for the period trigger.
Returns the lower threshold for the period trigger.


Example


:SEARch:PLOWer +10.000E-03
:SEARch:PLOWer?
(Response)  :SEARCH:PLOWER +10.000E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the upper threshold for the period trigger

8860, 8861


Syntax


(Command)
(Query)


:SEARch:PUPPer A
:SEARch:PUPPer?

(Response)

A<NR3>
A = upper threshold


Details


Sets the upper threshold for the period trigger.
Returns the upper threshold for the period trigger.


Example


:SEARch:PUPPer +20.000E-03
:SEARch:PUPPer?
(Response)  :SEARCH:PUPPER +20.000E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Query the search position

8860, 8861


Syntax


(Query)


:SEARch:POSition?

(Response)

A<NR1>
A = data position


Details


Returns the serch point after executing the search.


Example


:SEARch:POSition?
(Response)  :SEARCH:POSITION 600  (when headers are enabled)


Note


The position A is as follows.

A >= 0 : search position
A = -1 : not found the search position
A = -2 : search operation was aborted
A = -3 : search condition error


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the search range

8860, 8861


Syntax


(Command)
(Query)


:SEARch:RANGe A$
:SEARch:RANGe?

(Response)

A$
A$ = WHOLe, BLOCk, A_B


Details


Sets the search range.
Returns the search range as a text string.

WHOLe
BLOCk  (only for real-time operation)
A_B  between A/B cursors


Example


:SEARch:RANGe WHOLe
:SEARch:RANGe?
(Response)  :SEARCH:RANGE WHOLE  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query relative search time

8860, 8861


Syntax


(Command)
(Query)


:SEARch:RTIMe H,M,S,ms,μs
:SEARch:RTIMe?

(Response)

H<NR1>,M<NR1>,S<NR1>,ms<NR1>,μs<NR1>
H: 0 to ...[hours]
M: 0 to 59 [minutes]
S: 0 to 59 [seconds]
ms: 0 to 999 [milliseconds]
μs: 0 to 999 [microseconds]


Details


Sets the relative search time.
Returns the relative search time.


Example


:SEARch:RTIMe 0,0,0,1,0
:SEARch:RTIMe?
(Response)  :SEARCH:RTIME 0,0,0,1,0  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the search point (external sampling mode)

8860, 8861


Syntax


(Command)
(Query)


:SEARch:SAMPle A
:SEARch:SAMPle?

(Response)

A<NR1>
A: 0 to the number of stored data


Details


Set the search point for the external sampling mode.
Returns the search point for the external sampling mode.


Syntax


:SEARch:SAMPle 500
:SEARch:SAMPle?
(Response)  :SEARCH:SAMPLE 500  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the trigger slope

8860, 8861


Syntax


(Command)
(Query)


:SEARch:SLOPe A$
:SEARch:SLOPe?

(Response)

A$
A$ = UP, DOWN, UPDOwn


Details


Sets the trigger slope direction.
Returns the trigger slope direction setting, as a text string.

UP  (rising)
DOWN  (falling)
UPDOwn  (rising and falling)


Example


:SEARch:SLOPe UP
:SEARch:SLOPe?
(Response)  :SEARCH:SLOPE UP  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the timebase of the search object

8860, 8861


Syntax


(Command)
(Query)


:SEARch:TBASe A
:SEARch:TBASe?

(Response)

A<NR1>
A = 1, 2


Details


Sets the timebase of the search object.
Returns the timebase setting of the search object.


Example


:SEARch:TBASe 1
:SEARch:TBASe?
(Response)  :SEARCH:TBASE 1  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the trigger search channel

8860, 8861


Syntax


(Command)
(Query)


:SEARch:TGCH CH$
:SEARch:TGCH?

(Response)

CH$
CH$ = CHm_n


Details


Sets the trigger search channel.
Returns the trigger search channel as a text string.


Example


:SEARch:TGCH CH1_1
:SEARch:TGCH?
(Response)  :SEARCH:TGCH CH1_1  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the trigger filter

8860, 8861


Syntax


(Command)
(Query)


:SEARch:TGFIlter A
:SEARch:TGFIlter?

(Response)

A<NR2>
A = 0.0 to 10.0


Details


Sets the trigger filter.
Returns the trigger filter setting.

When A = 0, the filter is disabled.


Example


:SEARch:TGFIlter 1.5
:SEARch:TGFIlter?
(Response)  :SEARCH:TGFILTER 1.5  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the number of trigger events

8860, 8861


Syntax


(Command)
(Query)


:SEARch:TGNUm A
:SEARch:TGNUm?

(Response)

A<NR1>
A = 1 to...


Details


Sets the number of trigger events.
Returns the number of trigger events.


Example


:SEARch:TGNUm 3
:SEARch:TGNUm?
(Response)  :SEARCH:TGNUM 3  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the trigger type

8860, 8861


Syntax


(Command)
(Query)


:SEARch:TGTYpe A$
:SEARch:TGTYpe?

(Response)

A$
A$ = OFF, LEVEl, IN, OUT, PERIIn, PERIOut, GLITch, SLOPe, DROP


Details


Sets the type of trigger to search for.
Returns the type of trigger to search for, as a text string.

OFF
LEVEl
IN  In-window
OUT  Out-of-window
PERIIn  In-period
PERIOut  Out-of-period
GLITch  Glitch
SLOPe  Slope
DROP  Voltage Sag


Example


:SEARch:TGTYpe IN
:SEARch:TGTYpe?
(Response)  :SEARCH:TGTYPE IN  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query trigger combinatorial logic

8860, 8861


Syntax


(Command)
(Query)


:SEARch:TRIGger A$
:SEARch:TRIGger?

(Response)

A$
A$ = OR, AND, SELEct


Details


Sets the trigger combinatorial logic.
Returns the trigger combinatorial logic as a text string.

OR  Logical sum
AND  Logical product
SELEct  selected condition


Example


:SEARch:TRIGger AND
:SEARch:TRIGger?
(Response)  :SEARCH:TRIGGER AND  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the upper threshold for in-/out- window triggering

8860, 8861


Syntax


(Command)
(Query)


:SEARch:UPPEr A
:SEARch:UPPEr?

(Response)

A<NR3>
A = upper threshold


Details


Sets the upper threshold for in-/out- window triggering.
Returns the upper threshold for in-/out- window triggering.


Example


:SEARch:UPPEr +1.0000E-03
:SEARch:UPPEr?
(Response)  :SEARCH:UPPER +1.0000E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Select or query the measurement frequency for the voltage sag trigger

8860, 8861


Syntax


(Command)
(Query)


:SEARch:VFREq A
:SEARch:VFREq?

(Response)

A<NR1>
A = 50, 60


Details


Selects the measurement frequency for the voltage sag trigger.
Returns the measurement frequency for the voltage sag trigger.


Example


:SEARch:VFREq 50
:SEARch:VFREq?
(Response)  :SEARCH:VFREQ 50  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM




Set or query the trigger width

8860, 8861


Syntax


(Command)
(Query)


:SEARch:WIDTh A
:SEARch:WIDTh?

(Response)

A<NR3>
A = trigger width


Details


Sets the trigger width.
Returns the trigger width setting as numerical value.


Example


:SEARch:WIDTh +100.00E-03
:SEARch:WIDTh?
(Response)  :SEARCH:WIDTH +100.00E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM, REAL, REC&MEM