TIO Physical Channels
- Updated2024-10-22
- 2 minute(s) read
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 |
Digital Input and Output
NI 661x devices have two ports, port 0 and port 1. Port 0 has 32 lines of digital input and output named Dev1/port0/line0 through Dev1/port0/line31. Port 1 has 8 lines of digital input and output named Dev1/port1/line0 through Dev1/port1/line7. The physical channel Dev1/port0 refers to all 32 lines at once, and the physical channel Dev1/port1 refers to all 8 lines at once. Port 0 can perform hardware-timed and static digital operations, while port 1 can perform only static digital operations.
Port 0 and port 1 can be used as static PFI lines, PFI 0..39. When any of PFI lines 0..39 is used as a digital I/O signal, it uses the physical channel name shown in the following table.
PFI Signal | Physical Channel Name |
---|---|
PFI 0 | Dev1/port0/line0 |
PFI 1 | Dev1/port0/line1 |
PFI 2 | Dev1/port0/line2 |
PFI 3 | Dev1/port0/line3 |
PFI 4 | Dev1/port0/line4 |
PFI 5 | Dev1/port0/line5 |
PFI 6 | Dev1/port0/line6 |
PFI 7 | Dev1/port0/line7 |
PFI 8 | Dev1/port0/line8 |
PFI 9 | Dev1/port0/line9 |
PFI 10 | Dev1/port0/line10 |
PFI 11 | Dev1/port0/line11 |
PFI 12 | Dev1/port0/line12 |
PFI 13 | Dev1/port0/line13 |
PFI 14 | Dev1/port0/line14 |
PFI 15 | Dev1/port0/line15 |
PFI 16 | Dev1/port0/line16 |
PFI 17 | Dev1/port0/line17 |
PFI 18 | Dev1/port0/line18 |
PFI 19 | Dev1/port0/line19 |
PFI 20 | Dev1/port0/line20 |
PFI 21 | Dev1/port0/line21 |
PFI 22 | Dev1/port0/line22 |
PFI 23 | Dev1/port0/line23 |
PFI 24 | Dev1/port0/line24 |
PFI 25 | Dev1/port0/line25 |
PFI 26 | Dev1/port0/line26 |
PFI 27 | Dev1/port0/line27 |
PFI 28 | Dev1/port0/line28 |
PFI 29 | Dev1/port0/line29 |
PFI 30 | Dev1/port0/line30 |
PFI 31 | Dev1/port0/line31 |
PFI 32 | Dev1/port1/line1 |
PFI 33 | Dev1/port1/line2 |
PFI 34 | Dev1/port1/line3 |
PFI 35 | Dev1/port1/line4 |
PFI 36 | Dev1/port1/line5 |
PFI 37 | Dev1/port1/line6 |
PFI 38 | Dev1/port1/line7 |
PFI 39 | Dev1/port1/line8 |