Figure 4-5
IEEE 32-bit floating point binary transfer format
This data transfer format uses a header that consists of a sharp character (#), the number 6
(which indicates the byte size of the <number of bytes transferred> part), and the <number
of bytes transferred> part in this order. The header is followed by the binary data (each
number consists of 4 bytes, with the total being the byte size indicated by <number of bytes
transferred>) and the message terminator <new line>^END.
The binary data is expressed in the IEEE 754 32-bit floating-point number format shown in
Figure 4-6.
Figure 4-6
32-bit floating point data
Byte order
When you choose to perform binary transfer, you can configure the instrument to transfer
the bytes of the data in one of the following byte orders:
NORMal
SWAPped
To set the byte order, use the following command:
:FORMat:BORDer on page 271
•
4
Transfer begins with the byte that contains the MSB (most significant
bit); that is, the leftmost byte in Figure 4-4 and Figure 4-6.
Transfer begins with the byte that contains the LSB (least significant
bit); that is, the rightmost byte in Figure 4-4 and Figure 4-6.
Reading/Writing Measurement Data
Data Transfer Format
65