Model 2701 User’s Manual
Remote Operations
10-27
Response messages
A response message is the message sent by the instrument to the computer in response to a
query command program message.
Sending a response message
After sending a query command, the response message is placed in the Output Queue.
Multiple response messages
If you send more than one query command in the same program message (see “Multiple
command messages,” page 10-25), the multiple response messages for all the queries are
sent to the computer. The responses are sent in the order 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). 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 Model 2701 what to send to the computer.
The following two steps must always be performed to send information from the
instrument to the computer:
1.
Send the appropriate query command(s) in a program message.
2.
Retrieve the data from the 2701.
Rule 2. The complete response message must be received by the computer before another
program message can be sent to the Model 2701.
2701-900-01.book Page 27 Wednesday, August 3, 2011 9:43 AM
Summary of Contents for 2701
Page 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...