FORMat:DATA
Syntax
FORMat[:DATA] {ASCii | REAL} [,<length>]
FORMat[:DATA]?
Description
Specifies the data format to be either ASCII or REAL. This command affects the data format of the
MEASure?, READ?, FETCh?, DATA:REMove? and R? commands.
l If ASCii is specified, numeric data is transferred as ASCii characters. The numbers are separated by com-
mas as specified in IEEE 488.2. The <length> parameter is optional, but "15" is the default and only
allowed value, and the instrument returns 15 significant digits (for example:
+4.57538162393720E+006).
l If REAL is specified, numeric data is transferred as IEEE 754 binary data in IEEE 488.2 indefinite-length
block format (MEASure?, READ? and FETCh? commands) or definite-length block format (R? and
DATA:REMove? commands). The <length> parameter is optional, but "64" is the default and only
allowed value. The byte order is controlled by the FORMat:BORDer command.
Parameters
Name Type Range of Values Default Value
<length> Numeric ASCii,15
REAL,64
ASCii,15
REAL,64
Remarks
l The instrument selects ASCii format after a Factory Reset (*RST command) or an Instrument Preset
(SYSTem:PRESet command).
Return Format
The query returns the data format: ASC,15, or REAL,64.
Examples
The following example specifies the data format to be 64-bit REAL.
FORM:DATA REAL,64 or FORM:DATA REAL
FORMat:DATA
176 Keysight 53220A/53230A Programmer's Reference