
6
Communication Methods
2.1.1 Message Format
Program Message Program messages can be divided into either command messages or
query messages.
• Command Message
Orders for controls of the unit, such as for making measurement condition
settings or for reset or the like.
(example)
Command message which sets the frequency
:FREQUENCY 60
• Query Message
Orders for responses relating to results of operation, results of measure-
ment, or the state of device settings.
(example)
Queries the current frequency
:FREQUENCY?
Response
messages
After a query message has been received, a response message is
produced the moment that its syntax has been checked.
Whether or not headers are prefixed to response messages is set by
the HEADer command.
The response-message unit parameter can be changed from a semi-
colon (;) to a comma (,) using the :TRANsmit:SEParator com-
mand. The parameter is set to a semicolon (;) by default.
Header ON
U1_INST[V] +101.25E+0;I1_INST[A]_1 +50.246E+0
Header OFF +101.25E+0;+50.246E+0
Answer Message An answer message is a character string created after one line of data
(up to the terminator) from a PC has been analyzed and processed.
This string is returned to the PC. Using this data, the 3169-20/21 is
synchronized with the PC.
Header portion Space Data portion
Header portion Question mark