User manual
108 Register-Based Programming Appendix B
Example:
Opening/Closing
Multiplexer Channels
The flowchart in Figure B-3 shows one way to close (or open) a multiplexer
channel and determine when it has finished closing (or opening). The
address of the multiplexer’s Status Register is base + 04
16
. The address
of the channel is the base address plus the channel offset.
The multiplexer’s Status Register bit 7 is monitored to determine when a
multiplexer channel can be closed (or opened), and when a channel has
finished closing (or opening). This C program example closes and then
opend Channel 5 on bank 2 (register address 36). To initialize the E1460A,
write zeros to all Relay Control bits.
Figure B-3. Closing/Opening a Multiplexer Channel
START
STOP
0
1
0
1
Check
Multiplexer
Status Register
Bit 7
(Busy)
Close
Multiplexer
Channel
(Busy)
Bit 7
Status Register
Multiplexer
Check
B