IEEE-488 Reference
3-83
:BORDer? Query byte order
This command is used to control the byte order for the IEEE754 binary formats. For normal byte
order, the data format for each element is sent as follows:
Byte 1 Byte 2 Byte 3 Byte 4 (Single precision)
Byte 1 Byte 2 ••• Byte 8 (Double precision)
For reverse byte order, the data format for each element is sent as follows:
Byte 4 Byte 3 Byte 2 Byte 1 (Single precision)
Byte 8 Byte 7 ••• Byte 1 (Double precision)
The “#,0” Header is not affected by this command. The Header is always sent at the beginning
of the data string for each measurement conversion.
The ASCII data format can only be sent in the normal byte order. The SWAPped selection is
simply ignored when the ASCII format is selected.
PRINT #1, "output 16; :form:bord swap; bord?" ' Reverse byte order
PRINT #1, "enter 16" ' Get response message from 2002
:EXPonent <name>
:FORMat:EXPonent <name> Set exponent format.
<name> = NORMal Normal format
HPRecision High-precision format
:EXPonent? Query exponent format
This command defines the exponent format. The default setting is NORMal, in which case the
returned value is formatted according to the engineering units of the present range (for example,
0.0012341E+03 on the 2k, 20k, or 200k range). Choosing HPRecision selects the highest pre-
cision possible, so the above example would be returned as 1.2341234E+00 with three extra
digits of precision.
PRINT #1, "output 16; :form:exp hpr" ' Set high precision.
Query
Description
Program fragment
Parameters
Query
Description
Program fragment