![Fluke 5790A Скачать руководство пользователя страница 89](http://html1.mh-extra.com/html/fluke/5790a/5790a_operators-manual_2309650089.webp)
Remote Operation
Using Commands
5
5-13
5-21.
Multiple Commands
If the controller on the IEEE-488 bus is a Fluke 1722A, commands are sent one at a time
or combined in Fluke BASIC PRINT statements. For example, if the 5790A bus address
is 6 and you want take a reading on the input at INPUT 2, you could use the following
BASIC program statements:
10 INIT PORT 0 \ REMOTE @6
20 PRINT @6,"INPUT INPUT2"
30 PRINT @6,"MEAS?"
You can combine two commands in one statement as follows:
10 INIT PORT 0 \ REMOTE @6
20 PRINT @6,"INPUT INPUT2 ; MEAS?"
In both versions of the program, the PRINT statements transmit all necessary interface
messages (ATN and MLA) automatically.
To use the 1722A to control the 5790A via its serial interface ("KB1:" on the 1722A), the
equivalent program is:
10 SI% = 1% \ SO% = 2%
20 OPEN "KB1:" AS NEW FILE SO%
30 OPEN "KB1:" AS OLD FILE SI%
40 PRINT #SO%, "REMOTE"
50 PRINT #SO%, "INPUT INPUT2 ; MEAS?"
5-22.
Sequential and Overlapped Commands
Commands executed immediately as they are encountered in the data stream are called
sequential commands. Commands that begin execution, but are completed some time
later are called overlapped commands, because they can be overlapped by later
commands. All the commands described in Section 6 are sequential unless it is stated
otherwise in the alphabetical listings.
You can use *OPC, *OPC?, and *WAI to detect completion of overlapped or long-term
commands. (See the full descriptions of *OPC, *OPC?, and *WAI in Section 6 and the
remote examples in this section for more information about these commands.)
5-23.
Commands that require the CALIBRATION STORE or MODE Switch
to be Enabled
The following commands do not work unless the rear panel CALIBRATION STORE
switch is in the ENABLE position: CLOCK, most calibration commands, and *PUD.
FORMAT ALL, FORMAT CAL, and some calibration commands also require that you
set the CALIBRATION MODE switch to SERVICE. Attempting to use any of these
commands with the CALIBRATION STORE or MODE switch in the NORMAL position
logs an error into the error queue. (Or it returns the error message if in serial remote
control TERMINAL mode.)
5-24.
Long-Term Commands
Some remote commands take a relatively long time to execute. These are called "long-
term commands" and they are identified as such in the command descriptions in Section
6. If a command that produces a change in instrument state is received during the
execution of a long-term command, for example, CAL_AC, the command is not executed
and a device-dependent error occurs. (Bit 3 in the Event Status Register is set to 1 if
enabled, and the error code for the error is available to be read from the error queue. See
the "ERR?" command for more information.)
Содержание 5790A
Страница 4: ......
Страница 12: ...5790A Operators Manual vi...
Страница 14: ...5790A Operators Manual viii...
Страница 16: ...5790A Operators Manual 1 2...
Страница 34: ...5790A Operators Manual 2 2...
Страница 40: ...5790A Operators Manual 2 8...
Страница 41: ...3 1 Chapter 3 Features Title Page 3 1 Introduction 3 3 3 2 Front Panel Features 3 3 3 3 Rear Panel Features 3 3...
Страница 42: ...5790A Operators Manual 3 2...
Страница 48: ...5790A Operators Manual 3 8...
Страница 108: ...5790A Operators Manual 6 2...
Страница 146: ...5790A Operators Manual 7 2...
Страница 164: ...5790A Operators Manual 7 20...
Страница 166: ...5790A Operators Manual 8 2...
Страница 170: ...5790A Operators Manual 8 6...
Страница 172: ...5790A Operators Manual 9 2...
Страница 176: ...5790A Operators Manual...
Страница 185: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes...
Страница 186: ...5790A Operators Manual B 2...
Страница 187: ...Appendices ASCII and IEEE 488 Bus Codes B B 3...
Страница 188: ...5790A Operators Manual B 4...
Страница 204: ...5790A Operators Manual C 16...
Страница 210: ...5790A Operators Manual D 6...