5-35
Response messages
A response message is the message sent by the instrument to the computer in response to a query
command program message.
1.
Sending a response message:
After sending a query command, the response message is
placed in the Output Queue. When the Model 7001 is then addressed to talk, the response
message is sent from the Output Queue to the computer. The following example in HP BA-
SIC 4.0 demonstrates this process:
10
OUTPUT 707; “:rout:scan?”
! Send query command.
20
ENTER 707; A$
! Address Model 7001 to talk.
30
PRINT A$
! Display response message on CRT.
40
END
There are two special query commands that are used to read the Error Queue. As error and
status messages occur they are stored in the Error Queue. This queue is a first-in first-out
(FIFO) register. Either of the following two SCPI commands can be used to read the Error
Queue:
:STATus:QUEue?
:SYSTem:ERRor?
After sending either of the above commands, the oldest message in the Error Queue will be
moved to the Output Queue. When the Model 7001 is then addressed to talk (as explained
above), the response message will be sent to the computer.
2.
Multiple response messages:
If you send more than one query command in the same pro-
gram message (see Multiple command messages), the multiple response message for all the
queries will be sent to the computer when the Model 7001 is addressed to talk. The respons-
es are sent in the order that the query commands were sent and will be separated by semi-
colons (;). 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
3.
Response Message Terminator (RMT):
Each response message is terminated with an LF
(line feed) and EOI (end or identify). The following example shows how a multiple re-
sponse message is terminated:
0; 1; 1; 0 <RMT>
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com
Содержание 7001
Страница 183: ...IEEE 488 Reference 5 64 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 185: ...IEEE 488 Reference 5 66 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 239: ...IEEE 488 Reference 5 120 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 284: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 285: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 286: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 287: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 288: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 293: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 294: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 295: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 296: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 298: ...Replaceable Parts 8 6 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 299: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 300: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 301: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 303: ...Replaceable Parts 8 8 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 304: ......
Страница 305: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 307: ...Replaceable Parts 8 10 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 308: ......
Страница 309: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 311: ...Replaceable Parts 8 12 Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 312: ......
Страница 313: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Страница 315: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...