HP VXI E1476A User's Manual And Programming Manual page 37

64-channel, 3-wire multiplexer module
Table of Contents

Advertisement

36 HP E1476A Multiplexer Setup
Execute
SCAN:PORTABUS
command. A
CLOSe
command requires that you also close the appropriate
tree relay to make connection to the analog bus (see "Figure 1-1. HP E1476A
Simplified Schematic" on page 15).
An example program follows which uses Hewlett-Packard BASIC and SCPI
language to get you started using the Multiplexer. The example assumes an
HP 9000 Series 200/300/400 (or equivalent) computer and a
Hewlett-Packard Interface Bus (HP-IB). [HP-IB is the Hewlett-Packard
implementation of the IEEE 488.2-1987 standard.]
This program closes channel 02 of a Multiplexer at logical address 112
(secondary address = 112/8 = 14) and queries the channel closure state. The
result is returned to the computer and displayed ("1" = channel closed,
"0" = channel open). See the HP 75000 Series C Installation and Getting
Started Guide for information on addressing.
Example: Close Multiplexer Switch Channel
!Connect bank A to the analog bus.
10
20
OUTPUT 70914;"CLOS(@190)"
30
!Close channel 02.
40
OUTPUT 70914;"CLOS(@102)"
!Query channel 02 state.
50
60
OUTPUT 70914;"CLOS?(@102)"
70
!Enter result into Value .
80
ENTER 70914;Value
90
!Display result.
100
PRINT Value
110
END
to enable use of the analog bus for the
SCAN
Chapter 1

Advertisement

Table of Contents
loading

Table of Contents