User`s manual
Getting Started 17Chapter 1
Initial Operation
Use the following program example to verify initial multiplexer operation
by closing a channel and querying channel closure. The 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 command to close the channel
has been sent to the switchbox. A returned "0" shows that the command to
close the channel has not been sent to the switchbox.
The computer used in the example is an Series 200/300 computer with
BASIC as the program language. The computer interfaces to the mainframe
using the General Purpose Interface Bus (GPIB)
1
. The GPIB interface select
code is 7, the primary address is 09, and the secondary address is 14. Refer
to the 75000 Series B Installation and Getting Started Guide for addressing
information.
Example: Reset the switchbox and close channel 02
10 OUTPUT 70914;"*RST"
Opens all channels.
20 OUTPUT 70914;"CLOS (@102)"
Close channel 02.
30 OUTPUT 70914;"CLOS? (@102)"
Query channel 02 state.
40 ENTER 70914;Value
Enter results into Value.
50 PRINT Value
Display result.
60 END
1. GPIB is Agilent Technologies’ implementation of IEEE-488.2