Chapter 2 Before Use
2-16
2.5 Message Format
Messages are composed of character strings for executing commands and
character strings indicating the message end. The later character strings
are set in 2.3 “Setting Interface”.
Messages are composed of the following types:
Program Messages
Messages sent from PC to instrument
These are composed of commands to set the instrument and queries
requesting sending of a response message.
Response Messages:
Messages sent from instrument to PC controller
These messages are composed of header and data parts separated by
more than a half width space.
The header is composed of alphanumeric characters and underbars while
the head string is alphabetic characters. However, common commands
defined by IEEE 488.2 have an asterisk (*) appended to the header string.
Both upper and lower-case alphabetic characters are supported.
Command with only header:
*RST
:DISPlay:WINDow:TRACe:ALL
:INITate
:CALCulate:LMARker:AOFF
Command with header and data:
:DISPlay:TRACe:X:SPAN 10NM
:SENSe:AVERage:COUNt OFF
Messages with multiple data use commas (,) to separate the data parts.
Example:
:CALCulate:PARameter:WDM:NAFunction GAUSS,ON
:CALCulate:MARKer:ZONE:WAVelength 1310NM,20NM