Example measurements and programs
This section provides guidance on connecting sensors to the AM16/32B multiplexer and linking the AM16/32B to a data logger. The following are examples only and should not be construed as the only way to make a particular measurement. See the measurement section of the data logger manual for more information on basic bridge measurements.
The figures in this section illustrate the sensor path through the AM16/32B to the data logger. The wire connections between the data logger and AM16/32B control terminals are not depicted in the figures. Rather, control wiring details are provided in the table, specifying the wiring for each example.
The programs use the MuxSelect()
instruction to select the specified starting channel and turn the multiplexer on (High). Programs created with Short Cut will use the PortSet()
instruction to turn the multiplexer on (High). While PortSet()
is backward compatible with the older AM16/32 and AM16/32A, these older versions also require a 150 ms Delay()
instruction immediately after the PortSet()
instruction. Using MuxSelect()
with the AM16/32B does not require the delay, allowing for faster operation. In all cases, PortSet()
is used at the end of each scan to turn the multiplexer off (Low).
The example programs are downloadable from the Campbell Scientific website: www.campbellsci.com/downloads/am16-32b-example-programs . A single Zip archive contains all the example programs referenced in this manual.
Use the CRBasic Editor to view and edit the example programs.