User manual
34 Getting Started Chapter 1
multiplexer
Initial Operation You can use the following example program to verify initial multiplexer
module operation by closing a channel and querying channel closure. The
example first resets the switchbox and then closes bank 0, channel 2 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.
BASIC is used as the program language. The computer interfaces to the
mainframe using GPIB with interface select code 7, primary address 09,
and secondary address 14. This example rsesets the switchbox and closes
card 01 bank 0 channel 2 (to COM).
10 OUTPUT 70914;"RST"
!Reset the module, set all relays to open
20 OUTPUT 70914;"CLOS(@102)"
!Connect bank 0 channel 2 HI and LO
terminals to bank 0 to COM HI and LO
terminals
30 OUTPUT 70914;"CLOS? (@102)"
!Query channel 02
40 ENTER 70914;Value
!Enter results into Value
50 PRINT Value
!Display results (should return "1")
60 END