5-32 Agilent 4155C/4156C SCPI Command Reference, Edition 1
SCPI Commands
:FORMat[:DATA]
:FORMat[:DATA]
This command specifies the data format, which only has meaning for the
:DATA|:TRACe:DEFine and :DATA|:TRACe:STATus commands.
For other commands, the query reponse is usually ASCII.
At *RST, this value is set to ASCii.
Syntax :FORMat [:DATA] ASCii | REAL {,length}
Parameter
Query response ASC | REAL, length <newline><^END>
The data type of length is NR1 response data.
Example OUTPUT @Hp4155;":FORM ASC"
OUTPUT @Hp4155;":FORM?"
ENTER @Hp4155;A$
Parameter Explanation
ASCii Numeric data is transferred as ASCii bytes in NR1,
NR2, or NR3 response data format, as appropriate.
The numbers are separated by commas as specified in
IEEE 488.2.
REAL Data is transferred in a block of IEEE 754 floating
point numbers with the specified bit length. Valid
length are 32 and 64 bits. (Default is 64 bits).