![Pacific Scientific 5170 Скачать руководство пользователя страница 57](http://html.mh-extra.com/html/pacific-scientific/5170/5170_instruction-manual_746394057.webp)
USING THE OPERATION COMPLETE STATUS
There are several ways to determine if the meter has executed a command. If the command string contains
a query command the program can simply wait for the meter to transmit its response. But if the query
command contains an error the command may never be executed. Further, some commands do not require
a response. The best way to handle all situations is to issue the *OPC? command once prior to sending any
other commands. This will cause the meter to always transmit an ASCII “1” each time it executes a
command string. If the command string contains one or more query commands, the “1” will be appended to
the end of the response separated by a semicolon (
•
). For instance the response to the command string
*OPC?
•
:UNIT:FLUX:AC:GAUSS
would be “1”, whereas the response to a command string containing a query
*OPC?
•
:MEAS:FLUX?
might be “+221.3G
•
1
4-22
Содержание 5170
Страница 1: ...Manual UN 01 260 Rev G Pacific Scientific OECO All rights reserved ...
Страница 45: ...4 10 ...
Страница 49: ...4 14 Table 4 2 SCPI Commands ...