Border Command; Figure 5-3 Ieee754 Double Precision Data Format (64 Data Bits) - Keithley 2016 User Manual

Thd multimeter
Table of Contents

Advertisement

5-32
SCPI Command Reference
Figure 5-3
IEEE754 double
precision data
format (64 data
bits)

:BORDer command

:BORDer <name>
:FORMat:BORDer <name>
Parameters
Query
Description
DREAL selects the binary IEEE-754 double precision data format and is
shown in
Figure 5-3
single precision format except that it is 64 bits long.
Header
Byte 1
# 0
7
0
7
s
e
Bytes 3, 4, 5, and 6 not shown.
s = sign bit (0 = positive, 1 = negative)
e = exponent bits (11)
f = fraction bits (52)
Normal byte order shown. For swapped byte order,
bytes sent in reverse order: Header, Byte 8,
Byte 7 .... Byte 1.
The Header is only sent once for each measurement conversion.
<name> =
NORMal
SWAPped
:BORDer?
This command is used to control the byte order for the IEEE-754 binary
formats. For normal byte order, the data format for each element is sent as
follows:
Byte 1
Byte 2
Byte 1
Byte 2
For reverse byte order, the data format for each element is sent as follows:
Byte 4
Byte 3
Byte 8
Byte 7
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.
(normal byte order shown). This format is similar to the
Byte 2
Byte 7
0
7
f
entire data string.
Specify binary byte order
Normal byte order for binary formats
Reverse byte order for binary formats
Query byte order
Byte 3
Byte 4
(Single precision)
...
Byte 8
(Double precision
Byte 2
Byte 1
(Single precision)
...
Byte 1
(Double precision)
Byte 8
0
7
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

20152015p

Table of Contents