•
Valid commands that precede an invalid command in a multiple command
program message are executed.
•
Valid commands that follow an invalid command in a multiple command pro-
gram message are ignored.
1.4 Response Data Type
Character strings returned by query statements may take either of the following
forms, depending on the length of the returned string:
•
<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.
•
<Block>
: arbitrary block data.
Response messages
A response message is the message sent by the instrument to the computer in
response to a query command.
Sending a response message
After sending a query command, the response message is placed in the Output
Queue. When the instrument 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, the
multiple response messages for all the queries is sent to the computer when the
instrument is addressed to talk. The responses are sent in the order that the
query commands were sent and are separated by semicolons (;). 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
Copyright © Itech Electronic Co., Ltd.
6