Program Timing and Execution
Closing Channels
108 Register-Based Programming
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
This section contains generalized flowcharts and comments for performing
program timing and execution and other procedures. The flowcharts identify
the registers used and the status bits monitored to ensure execution of the
program.
This flowchart shows how to close (or open) a multiplexer channel and
determine when it has finished closing (or opening). The address of the
multiplexer Status Register is base + 04
base address plus the channel offset. Multiplexer Status Register bit 7 (the
BUSY bit) is monitored to determine when a multiplexer channel can be
closed (or opened) and when a channel has finished closing (or opening).
Figure B-3. Closing/Opening a Multiplexer Channel
. The address of the channel is the
16
START
Check
Multiplexer
0
Status Register
Bit 7
(Busy)
1
Close
Multiplexer
Channel
Check
Multiplexer
0
Status Register
Bit 7
(Busy)
1
STOP
Appendix B