Table of Contents

Advertisement

Subsystem Syntax
[:DATA]
Comments
[:DATA]?
Comments
The FORMat command subsystem is used to specify the output format of the
readings from the HP E1563A/E1564A Digitizer.

FORMat

[:DATA] ASCii | PACKed | REAL
[:DATA]?
FORMat[:DATA] ASCii | PACKed | REAL specifies the output format for
measurement data.
PACKed,16 format is signed 16 bits (16-bit integers). Data is returned as raw
data and must be converted to voltage by one of the following methods:
voltage = reading * range/32768
voltage = reading * resolution
NOTE: Use the [SENSe:]VOLTage[:DC]:RESolution?
command to obtain the resolution value.
REAL,64 format sends data back as IEEE-754 64-bit real numbers.
Both PACKed,16 and REAL,64 formats return data preceded by the
IEEE-488.2 definite length arbitrary block header. The header is as follows:
# <num_digits> <num_bytes>
# signifies a block transfer
<num_digits> is a single digit (1 through 9) which specifies how many
digits (ASCII characters) are in the <num_bytes> descriptor which follows.
<num_bytes> is the number of data bytes which immediately follow
the <num_bytes> field.
Reset (*RST) Condition: FORMat:DATA ASCii
FORMat[:DATA]? queries the type of output format set for measurement data.
The command returns "ASC,+7", "PACK,+16", or "REAL,+64".
ASC,+7 indicates ASCII data with seven significant digits.
PACKed,+16 indicates the format is signed 16 bits.
REAL,+64 indicates data is IEEE-754 64-bit real numbers.
FORMat
Digitizer Command Reference
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1564a

Table of Contents