
Digitizer Command Reference
63
FORMat
The FORMat command subsystem is used to specify the output format of the
readings from the HP E1563A/E1564A Digitizer.
Subsystem Syntax
FORMat
[:DATA]
ASCii | PACKed | REAL
[:DATA]?
[:DATA]
FORMat[:DATA]
ASCii | PACKed | REAL specifies the output format for
measurement data.
Comments
•
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
[:DATA]?
FORMat[:DATA]? queries the type of output format set for measurement data.
Comments
The command returns “ASC,+7”, “PACK,+16”, or “REAL,+64”.
•
ASC,+7 indicates ASCII data with seven significant digits.
•
16 indicates the format is signed 16 bits.
•
REAL,+64 indicates data is IEEE-754 64-bit real numbers.
Содержание E1563A
Страница 8: ......
Страница 24: ...24 Digitizer Module Set up ...
Страница 84: ...84 Digitizer Command Reference ...
Страница 110: ...110 ...
Страница 138: ...138 HP E1563A and E1564A Register Based Programming Appendix B ...
Страница 156: ...156 HP E1563A and E1564A Verification Tests ...