Command Descriptions
Syntax and Commands
2Ć50
*CLS (No Query Form)
Clears the oscilloscope status data structures.
Status and Error
DESE, *ESE, *ESR?, EVENT?, EVMsg?, *SRE, *STB?
*CLS
*CLS
The *CLS command clears the following:
H the Event Queue
H the Standard Event Status Register (SESR)
H the Status Byte Register (except the MAV bit; see below)
If the *CLS command immediately follows an <EOI>, the Output Queue and
MAV bit (Status Byte Register bit 4) are also cleared. MAV indicates informaĆ
tion is in the output queue. The device clear (DCL) GPIB control message will
clear the output queue and thus MAV. *CLS does not clear the output queue
or MAV. (A complete discussion of these registers and bits, and of event
handling in general, begins on page 3Ć1.)
*CLS can suppress a Service Request that is to be generated by an *OPC.
This happens if a hardcopy output or single sequence acquisition operation
is still being processed when the *CLS command is executed.
CURSor? (Query Only)
Returns all current cursor settings.
Cursor
CURSor?
CURSor
?
CURSOR?
might return :CURSOR:FUNCTION OFF;VBARS:UNITS SECONDS;
POSITION1 500.0E–6;POSITION2 4.50E–3;SELECT CURSOR1;
:CURSOR:HBARS:POSITION1 3.20E+0;POSITION2 –3.20E+0;
SELECT CURSOR1 as the current cursor settings.
Group:
Related Commands:
Syntax:
Group:
Syntax:
Examples: