NI 6154 Physical Channels

NI-DAQmx Device Considerations

NI 6154 Physical Channels

In physical channel names, Dev1 is the default device name for NI 6154 devices. You can change these names in MAX.

Analog Input

A 4-channel NI 6154 device has physical channels ranging from Dev1/ai0 to Dev1/ai3.

Analog Output

NI 6154 devices have four analog outputs corresponding to four analog output physical channels ranging from Dev1/ao0 to Dev1/ao3.

Digital Input and Output

NI 6154 devices have two ports, port 0 and port 1. Port 0 has six digital input lines, Dev1/port0/line0 through Dev1/port0/line5. Port 1 has four digital output lines, Dev1/port1/line0 through Dev1/port1/line3. You can use port 0 as static digital input lines or input PFI lines, PFI 0..5. You can use port 1 as static digital output lines or output PFI lines, PFI 6..9. When any of PFI lines 0..9 is used as a digital I/O signal, it uses the physical channel name shown in the following table.

PFI Signal Physical Channel Name Direction
PFI 0 Dev1/port0/line0 Input
PFI 1 Dev1/port0/line1 Input
PFI 2 Dev1/port0/line2 Input
PFI 3 Dev1/port0/line3 Input
PFI 4 Dev1/port0/line4 Input
PFI 5 Dev1/port0/line5 Input
PFI 6 Dev1/port1/line0 Output
PFI 7 Dev1/port1/line1 Output
PFI 8 Dev1/port1/line2 Output
PFI 9 Dev1/port1/line3 Output

Physical channel Dev1/port0 refers to all six input lines, Dev1/port0/line0:5, at once. Physical channel Dev1/port1 refers to all four output lines, Dev1/port1/line0:3, at once.

Counter Input and Output

NI 6154 devices have two counter/timers referred to by the physical channel names Dev1/ctr0 and Dev1/ctr1. 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 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 signal provides the SOURCE, AUX, or GATE function and wire your signal to the default, you do not have to set the Input Terminal attribute/property.

Counter SOURCE Default GATE Default AUX Default OUT Default
Dev1/ctr0 PFI 0 PFI 1 PFI 2 PFI 6
Dev1/ctr1 PFI 3 PFI 4 PFI 5 PFI 7

In addition, the NI 6154 has one frequency generator. The output terminal of the frequency generator is FREQOUT. The default for FREQOUT is PFI 8. When using FREQOUT, you can continue to use both ctr0 and ctr1 to perform other operations.

The NI 6154 uses the same default terminals for common counter applications as other 37-Pin DSUB devices. Refer to 37-Pin DSUB Signal Connections for Counters for default terminals for NI 6154 devices.