Agilent Technologies E1563A Stereo Receiver User Manual


 
72 Digitizers Command Reference Chapter 3
FORMat
The FORMat command subsystem is used to specify the output format of
the readings from the E1563A and E1564A Digitizers.
Subsystem Syntax FORMat
[:DATA] ASCii | PACKed | REAL
[:DATA]?
FORMat[:DATA]
FORMat[:DATA] ASCii | PACKed | REAL specifies the output format for
measurement data.
Comments PACKed Format: PACKed,16 format is signed 16 bits (16-bit integers).
Data are returned as raw data and must be converted to voltage by using
voltage = reading * range/32768 or voltage = reading * resolution (Use
[SENSe:]VOLTage[:DC]:RESolution? to obtain the resolution value).
REAL Format: REAL,64 format returns data as IEEE-754 64-bit real
numbers.
IEEE-488.2 Headers: Both PACKed,16 and REAL,64 formats return data
preceded by the IEEE-488.2 definite length arbitrary block header. The
header is # <num_digits> <num_bytes>, where
# signifies a block transfer
<num_digits> is a single digit (1 through 9) which specifies how
many digits (ASCII characters) are in <num_bytes>
<num_bytes> is the number of data bytes which immediately
follow the <num_bytes> field.
Reset (*RST) Condition: FORMat:DATA ASCii
FORMat[:DATA]?
FORMat[:DATA]? queries the type of output format set for measurement
data. The command returns “ASC,+7”, “PACK,+16”, or “REAL,+64”, where
ASC,+& indicates ASCII data with seven significant digits, ASC,+7
indicates ASCII data with seven significant digits, PACKed,+16 indicates
the format is signed 16 bits, and REAL,+64 indicates data is IEEE-754
64-bit real numbers.