Digital Physical Channel Names in Traditional NI-DAQ (Legacy) and NI-DAQmx
The following table translates terms from Traditional NI-DAQ (Legacy) to NI-DAQmx.
Traditional NI-DAQ (Legacy) | NI-DAQmx | Explanation |
---|---|---|
0, 1 as port | Dev1/port0, Dev1/port1, and so on | In Traditional NI-DAQ (Legacy), physical channel names are numbers. In NI-DAQmx, physical channels are string names that combine the device name, the I/O type, and the physical channel number. If the line number is omitted from the NI-DAQmx name, all lines in the port are included. |
0, 1 as line | Dev1/port0/line0, Dev1/port0/line1 | When the line number is present in the NI-DAQmx name, only that line is used. |
No Equivalent | Dev1/port1_16 | Concatenated ports, port a_b, where a is the port number of the beginning port and b is the width in lines |