Solution
To externally access counters on the chassis, you will need a module capable of hardware-timed digital I/O plugged into your cDAQ chassis. Please see
cDAQ Module Support for Accessing On-board Counters for more information on which modules can be used to access cDAQ chassis counters. On the 9172, this module must be in slot 5 or 6 to access the counters. For the newer cDAQ chassis (9171/9174/9178/9181/9188/9191), the module can be in any slot.
Even without such a module inserted in the chassis, you can still configure the internal counters and access them from other modules through the chassis backplane.
By default the DAQmx physical channel control drop down menu will not list internal channels. To view the hidden channels, modify the I/O Name Filtering as detailed below:
- Right-click the DAQmx physical channel control.
- Select I/O Name Filtering.
- When the Filter Names dialog appears check the Internal Channels check box.
- Click OK.
After configuring the DAQmx physical channel control, two or four new counters should appear in the drop down menu depending on which chassis you have. For the cDAQ-9172, the channels will be listed as
_ctr0 and the other
_ctr1. The other cDAQ chassis listed above will also list two more channels as
_ctr2 &
_ctr3. These
_ctrX channels are the internal counters and can be used to generate a sample clock for another data acquisition tasks.