Figure
Programming Language
The examples in this manual use the Standard Commands for Programmable Instruments (SCPI) commands,
Initial Operation
Use the following program to verify initial multiplexer operation by closing a channel and querying channel closure. The computer interfaces to the mainframe with the
This example first resets the switchbox and then closes channel 02 of a single multiplexer module (card number 1) in the switchbox. The program next queries the channel closure state. A returned "1" shows that the channel is closed, a returned "0" designates an open channel.
10 | OUTPUT 70903;"*RST" | !Opens all channels |
20 | OUTPUT 70903;"CLOS (@102)" | !Close channel 02 on card 1 |
30 | OUTPUT 70903;"CLOS? (@102)" | !Query channel 02 state |
40 | ENTER 70903;Value | !Enter results into variable called |
|
| Value |
50 | PRlNT Value | !Display result |
60 | END |
|
16 Getting Started with the HP E1351A/53A | Chapter 1 |