
Series 2230G Triple-Channel Power Supplies User's Manual
Section 4: Introduction to SCPI
2230G-900-01 Rev. A / June 2018
4-9
Response messages
A response message is the message sent by the instrument to the computer in response to a query
command.
Response data types
Character strings returned by query statements may take any of the following formats, depending on
the length of the returned string.
Symbol
Description
<CRD>
Character response data; permits the return of character strings
<AARD>
Arbitrary ASCII response data; permits the return of undelimited 7-bit ASCII
This data type has an implied message terminator
<SRD>
String response data; returns string parameters enclosed in double quotes
Getting a response message
After sending a query command, the response message is placed in the output queue. When the
Series 2230G is then addressed to talk, the response message is sent from the output queue to the
computer.
Multiple response messages
If you send more than one query command in the same program message (see
(on page 4-6)), multiple response messages are sent to the computer when the Series
2230G is addressed to talk. The responses are separated with semicolons (
;
) and are sent in the
order that the query commands were sent. Items within the same query are separated by commas
(
,
).
The following example shows the response message for a program message that contains four
single-item query commands:
0; 1; 1; 0
Response message terminator (RMT)
Each response is terminated with an
LF
(line feed) and
EOI
(end or identify). The following example
shows how a multiple response message is terminated:
0; 1; 1; 0; <RMT>