User manual
IEEE-488 Reference
4-202 2001-900-01 Rev. K / August 2010
The queue for the :KEY? query command can only hold one key-press. When :KEY? is sent
over the bus, and the Model 2001 is addressed to talk, the key-press code number for the last
key pressed (either physically or with :KEY) will be sent to the computer.
Programming example OUTPUT 716; “:syst:key 29”
OUTPUT 716; “:syst:key 16; key 16”
OUTPUT 716; “:syst:key 8; key 8”
First Program Message Selects the DCI function.
Second Program Message Selects the Zero Center Bar Graph.
Third Program Message Returns the Model 2001 to the normal display.
4.22.10:CLEar
:SYSTem:CLEar Clear Error Queue
Format :syst:cle
Description This action command is used to clear the Error Queue of messages.
Programming example OUTPUT 716; “:stat:cle” ! Clear Error Queue.
4.22.11 :FETCh:FORMat <name>
:SYSTem::FETCh:FORMat <name> Select fetch format
Parameters <name> = SCPI Select the SCPI format for :FETCh?
= FRESh Select the FRESh format for :FETCh?
Format :syst:fetc:form <name>
Query :FETCh:FORMat? Query fetch format
Short-form format: :syst:fetc:form?
Response message: SCPI, FRES
Description This command is used to select the format for the :FETCh? signal oriented measurement com-
mand. With SCPI selected, :FETCh? will request the latest reading. With FRESh selected,
:FETCh? will request a fresh reading. See :FETCh? for more information.
At power-on, the fetch format will be set to FRESh, and all elements will be included in the data
string for each measurement conversion (see :FORMat:ELEMents).
Note that the fetch format is not affected by *RST or :SYSTem:PRESet. However, with the
SCPI format selected, *RST will set the :FORMat:ELEMent command for READing only.
Also not that the fetch format is not remembered by the *SAV common command.
Programming example 10 OUTPUT 716; “:syst:fetc:form scpi; form?”
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10 Selects the SCPI fetch format and queries the format.