15-6 Additional SCPI Commands
:BORDer command
:BORDer <name>
:FORMat:BORDer <name> Specify binary byte order
Parameters
<name> = NORMal Normal byte order for binary formats
SWAPped Reverse byte order for binary formats
Description
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
ignored when the ASCII format is selected.
:ELEMents command
:ELEMents <item list>
:FORMat:ELEMents <item list> Specify elements to include in data string
Parameters
<item list>: READing Includes reading in data string
CHANnel Includes channel number
UNITs Includes units
NOTE Each item in the list must be separated by a comma (,).
Description
This command is used to specify the elements to be included in the data string for each
measurement conversion. You can specify from one to all three elements. Each element in the
list must be separated by a comma (,). These elements, shown in Figure 15-1, are explained in
the following paragraphs.
READing: Instrument reading. The resolution of this reading tracks the display resolution
of the instrument. An overflow reading reads as +9.9e37 with no units.