User Manual

18-54 SCPI Command Reference 2400 Series SourceMeter
®
User’s Manual
Byte order
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
Query :BORDer? Query byte order
Description This command is used to control the byte order for the IEEE-754
binary formats. For normal byte order, the data format for each ele
-
ment is sent as follows:
Byte 1 Byte 2 Byte 3 Byte 4 (Single 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)
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.
NOTE The SWAPped byte order must be used when transmitting binary data to any
IBM PC compatible computer.
Status register format
SREGister <name>
:FORMat:SREGister <name> Set data format for reading status regis-
ters
Parameters <name> = ASCii Decimal format
Hexadecimal Hexadecimal format
OCTal Octal format
BINary Binary format
Query :SREGister? Query format for reading status registers
Description Query commands are used to read the contents of the status event
registers. This command is used to set the response message for
-
mat for those query commands.