TIO Physical Channels
Counter Input and Output
TIO devices have up to eight counter/timers referred to by the physical channel names Dev1/ctr0 to Dev1/ctr7. Unlike the other I/O types, these physical channel names do not refer to terminals on the I/O connector but instead to circuits within the device.
There are four primary terminals associated with each TIO counter. These are the terminals used as the SOURCE, GATE, AUX, and OUT functions. NI-DAQmx has default values for these terminals. For counter input tasks, if you know whether your signals provide the SOURCE, GATE, or AUX functions and wire your signal to the default input, you do not have to set the Input Terminal attribute/property.
Counter | SOURCE Default | GATE Default | AUX Default | OUT Default |
---|---|---|---|---|
Dev1/ctr0 | PFI 39 | PFI 38 | PFI 37 | PFI 36 |
Dev1/ctr1 | PFI 35 | PFI 34 | PFI 33 | PFI 32 |
Dev1/ctr2 | PFI 31 | PFI 30 | PFI 29 | PFI 28 |
Dev1/ctr3 | PFI 27 | PFI 26 | PFI 25 | PFI 24 |
Dev1/ctr4 | PFI 23 | PFI 22 | PFI 21 | PFI 20 |
Dev1/ctr5 | PFI 19 | PFI 18 | PFI 17 | PFI 16 |
Dev1/ctr6 | PFI 15 | PFI 14 | PFI 13 | PFI 12 |
Dev1/ctr7 | PFI 11 | PFI 10 | PFI 9 | PFI 8 |
Note The NI 6601 has only four counters (ctr0–ctr3). The entries in the previous table for cntr4, cntr5, cntr6, and cntr7 do not apply for that device. |