Remote Control
Copyright © ITECH Electronic Co., Ltd. 6
may also act as one part of a string, they can be typed twice without any
character added between them. String parameter is used in the following
command:
DISPlay:TEXT <quoted string>
For example, the following commands display message of "WAITING..."
(without quotation marks) on the front panel of the instrument.
DISP:TEXT "WAITING..."
Single quotation marks may also be used to display the same message.
DISP:TEXT 'WAITING...'
1.6 Response Data Type
Character strings returned by query statements may take either of the following
forms, depending on the length of the returned string:
Character Response Data. Permits the return of character strings.
Arbitrary ASCII Response Data. Permits the return of undelimited 7-bit
ASCII. This data type has an implied message terminator.
String Response Data. Returns string parameters enclosed in double
quotes
Response messages
A response message is the message sent by the instrument to the computer in
response to aquery command.
Sending a response message
Afte sending a query command, the response message is placed in the Output
Queue. When the IT8800 Series 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
the paragraph entitled, “Multiple Command Messages”), the multiple response
messages for all the queries is sent to the computer when the IT8800 Series 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
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>
Message exchange protocol
Two rules summarize the message exchange protocol:
Rule 1.You must always tell the IT8800 Series what to send to the computer.
The following two steps must always be performed to send information from the
instrument other computer: