2.5 Message Format
2-17
2
Queries have a question mark (?) appended to the header.
Example:
:TRACe:DMA?
:CALCulate:DATA:APR:WMPK? 16
:CALCulate:LMARker:X? 1
When linking multiple program messages, separate the message using
semicolons (;).
Example:
:DISPlay:TRACe:X:CENT 1550NM ; :INITate ; *WAI ; :TRACe:DMA?
The data format is character string data, numeric data, and binary data.
String data is ASCII code enclosed in quotation marks.
An example of the program message when inputting Model ANR-005 at
the title is shown below.
Example:
:
DISPlay:TEXT:DATA ‘Model ANR-005’,
:DISPlay:TEXT:DATA “Model ANR-005”
When using numeric data, input numeric values either as integers or
floating point representation. Each following example indicates the same
value.
Example:
-90 -90.00 -9E1
1310 1310.0 1.31E3
0.0023 2.3E-4
For the binary data, the head string starts with a sign (#) and continues
with data after a numeric value indicating the data length.
The character after the sign (#) indicates the number of digits in the data
length.
The binary data follows the number indicating the data length.
Example:
#4 2002 an%*qe4445+\
4 digits 2002 bytes of binary data