9640A
Instruction Manual
4B-6
The IEEE 488.2 standard defines a set of operational states and actions to implement the
message exchange protocol. See Table 4B-1 and Table 4B-2.
Table 4B-1. States for Message Exchange Protocol
State Purpose
IDLE
Wait for messages
READ
Read and execute messages
QUERY
Store responses to be sent
SEND Send
responses
RESPONSE
Complete sending responses
DONE
Finished sending responses
DEADLOCK
The device cannot buffer more data
Table 4B-2. Actions for Message Exchange Protocol
Action Reason
Unterminated
The controller attempts to read the device without first having sent a complete
query message.
Interrupted
The device is interrupted by a new program message before it finishes sending
a response message.
Protocol Requirements
In addition to the above functional elements, which process the data, the message
exchange protocol has the following characteristics:
•
The controller must end a program message containing a query with a message
terminator before reading the response from the device (address the device as talker).
If the controller breaks this rule, the device will report a query error (unterminated
action).
•
The controller must read the response to a query in a previously (terminated) program
message before sending a new program message. When the controller violates this
rule, the device will report a query error (interrupted action).
•
The instrument sends only one response message for each query message. If the
query message resulted in more than one answer, all answers will be sent in one
response message.
Order of Execution - Deferred Commands
Execution control collects commands until the end of the message, or until it finds a
query or other special command that forces execution. It then checks that the setting
resulting from the commands is a valid one: No range limits are exceeded, no coupled
parameters are in conflict, etc. If this is the case, the commands are executed in the
sequence they have been received; otherwise, an execution error is generated, and the
commands are discarded.
This deferred execution guarantees the following:
•
All valid commands received before a query are executed before the query is
executed.
•
All queries are executed in the order they are received.
•
The order of execution of commands is never reversed.
Содержание 9640A Series
Страница 8: ......
Страница 16: ...9640A Instruction Manual viii...
Страница 22: ...9640A Instruction Manual 1 2...
Страница 40: ...9640A Instruction Manual 2 2...
Страница 108: ...9640A Instruction Manual 4A 2...
Страница 138: ...9640A Instruction Manual 4C 2...
Страница 164: ...9640A Instruction Manual 4D 2...
Страница 168: ...9640A Instruction Manual 4D 6...
Страница 170: ...9640A Instruction Manual 4E 2...
Страница 174: ...9640A Instruction Manual 4E 6...
Страница 176: ...9640A Instruction Manual 4F 2...
Страница 184: ...9640A Instruction Manual 4F 10...
Страница 186: ...9640A Instruction Manual 4G 2...
Страница 190: ...9640A Instruction Manual 4G 6...
Страница 192: ...9640A Instruction Manual 5 2...
Страница 272: ...9640A Instruction Manual 5 82...
Страница 274: ...9640A Instruction Manual 6 2...
Страница 284: ...9640A Instruction Manual 7 2...
Страница 309: ...8 1 Chapter 8 Lists of Replaceable Parts Title Page Introduction 8 3 How to Obtain Parts 8 3 Parts Lists 8 4...
Страница 310: ...9640A Instruction Manual 8 2...
Страница 316: ...9640A Instruction Manual 8 8...
Страница 320: ...9640A Instruction Manual A 4...