
4
Data Formats
The instrument uses character data, decimal numeric data and character string data depending on the command.
(1) Character Data
Character data always begins with an alphabetic character, and subsequent characters may be either
alphabetic or numeric. Character data is not case-sensitive, although response messages from the instrument
are only upper case. When the command data portion contains
<1/0/ON/OFF>
, the operation will be similar to
when 0 is OFF and 1 is ON.
:RANGE:AUTO:R OFF
(2) Decimal Numeric Data
Three formats are used for numeric data, identified as NR1, NR2, and NR3. Numeric values may be signed or
unsigned. Unsigned numeric values are handled as positive values. Values exceeding the precision handled by
the instrument are rounded to the nearest valid digit.
• NR1
Integer data (e.g.: +12, -23, 34)
• NR2
Fixed-point data (e.g.: +1.23, -23.45, 3.456)
• NR3
Floating-point exponential representation data (e.g.: +1.0E-2, -2.3E+4)
The term “NRf format” includes all three of the above numeric decimal formats.
The instrument accepts NRf format data. The format of response data is specified for each command, and the
data is sent in that format.
:RANGE:R 16
:FETCH:WAVELENGTH:CENTROID:R?
6.3478E+02 ,0
(3) Character string data
• Character string data is enclosed by quotation marks.
• This type of data consists of 8-bit ASCII characters
• As for quotation marks, the sender from the instrument uses double quotes (”).
:SYSTEM:MAC?
Response>
“00-01-67-07-03-85”