IEEE-488 Reference
Programming example
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
Format
Description
Programming example
4.22.11 :FETCh:FORMat <name>
Parameters
Format
Query
Description
Programming example
4-202
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.
OUTPUT 716; ":syst:key 29"
OUTPUT 716; ":syst:key 16; key 16"
OUTPUT 716; ":syst:key 8; key 8"
:SYSTem:CLEar
:syst:cle
This action command is used to clear the Error Queue of messages.
OUTPUT 716; ":stat:cle"
:SYSTem::FETCh:FORMat <name>
<name> = SCPI
= FRESh
:syst:fetc:form <name>
:FETCh:FORMat?
Query fetch format
Short-form format:
:syst:fetc:form?
Response message:
SCPI, FRES
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.
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.
Clear Error Queue
! Clear Error Queue.
Select fetch format
Select the SCPI format for :FETCh?
Select the FRESh format for :FETCh?
2001-900-01 Rev. K / August 2010