
9.4 Configuring the Communications Protocol
103
9
Use communications commands to set the measurement data transmission format to ASCII or
binary.
See:
":SYSTem:FORMat <ASCii/ BINary>" (p. 137)
This setting applies only to data sent in response to the following query messages:
•
:FETCh?
•
:READ?
•
:MEMory:DATA?
It also applies to data output sent by the measurement output functions.
Binary Data Format
Binary data is IEEE format single-precision (32-bit) floating-point values.
Binary data is sent in four-byte sequences beginning with the first byte (which includes the sign bit).
Responses to queries that return a single value, such as :FETCh?, consist of a measured value as four-byte
floating-point binary data. The delimiter is not sent.
Example
Transmit
:FETCh?
+ (terminator)
Receive
(4-byte floating-point data)
Responses containing multiple values such as memory data consist of a continuous stream of binary data val-
ues with no punctuation or other separator between values.
Example
Transmit
:MEMory:DATA?
+ (terminator)
Receive
(4-byte floating-point data) + (4-byte floating-point data) +.... + (4-byte floating-point data)
Select the Measurement Data Transmission Format (both RS-232C and
GP-IB)
1-Bit Sign
8-Bit Exponent
23-Bit Mantissa
First Byte
Second Byte
Third Byte
Fourth Byte
Содержание RM3542
Страница 2: ......
Страница 6: ...Contents iv ...
Страница 16: ...Operating Precautions 10 ...
Страница 26: ...1 3 Screen Organization 20 ...
Страница 32: ...2 3 Turning the Power On and Off 26 ...
Страница 46: ...3 8 Confirming Faulty Measurements 40 ...
Страница 64: ...4 12 Compensating for Thermal EMF Offset Offset Voltage Compensation OVC 58 ...
Страница 84: ...6 4 Auto Exporting Measured Values at End of Measurement Data Output Function 78 ...
Страница 90: ...7 3 Printing 84 ...
Страница 172: ...9 10 Device Compliance Statement 166 ...
Страница 190: ...11 4 Disposing of the Instrument 184 ...
Страница 200: ...Appendix 5 Dimensional Diagram A10 Appendix 5 Dimensional Diagram ...
Страница 214: ...Index Index 4 ...
Страница 215: ......
Страница 216: ......
Страница 217: ......
Страница 218: ......