GPIB Operation Data I/O Formats
ML2437A/38A OM/PM PN: 10585-00001 Rev. P 8-3
<NR3>
This notation represents ASCII floating point values in exponential format (scientific
notation). A comma (,) is used to separate multiple values sent in a single command's input or
output string.
Examples of values that can be represented by <NR3> notation:
1.0E9
7.056E3
9.0E2,3.42E2
<NRf>
This notation is used to signify that data can be in either <NR1>, <NR2>, or <NR3> format as
described above. Examples of values that can be represented by <NRf> notation:
1.0E9
10.005
83,4.5E2,234.9901
<String>
This notation represents a string of 7-bit ASCII characters (including non printable
characters) that is delimited (surrounded) with either single quotes (' ') or double quotes (“ ”).
The string can include text formatting characters such as linefeed, space, or carriage return.
Note that if a double quote character must be sent as part of the string, then it must be
followed by an additional double quote. Alternatively, the string can be sent using single
quotes as shown in the “cal_file” example below. Examples of data represented by <String>
notation are:
“1/15/98"
”Save “”cal_file"" now."
'Save “cal_file” now.'
<Arbitrary ASCII>
This notation represents undelimited 7-bit ASCII text. The end of the text must be
terminated with the line feed character (0Ah, decimal 10) or a GPIB End of Transmission
State (EOI), or both. This requirement makes it necessary for <Arbitrary ASCII> text to be
transmitted only at the end of a program or response message, that is, at the end of a multiple
input or output statement.
Example of data represented by <Arbitrary ASCII> notation:
Anritsu,MA2410A,123456,1.0<0A^EOI> The example shows a sample response from the
*IDN?, 488.2 common query. In the example, the instrument identifies itself as an Anritsu
MA2410A, with serial number 123456, and software version 1.0 installed. Note that decimal
10 (0Ah character) must be sent with the EOI to signal end of transmission.
<Arbitrary Block>
This notation represents data transmitted as 8-bit data bytes (00-FF hex, 0-255 decimal,
notation is <DAB>). Useful for transmitting large blocks of formatted ASCII or binary data or
unformatted binary data. The data stream is immediately preceded by a variable length
ASCII header that is encoded with the number of data bytes to be sent. The header always
starts with the (#) character.