Additional Information
Most serial C Series digital I/O modules consist of more than 8 lines per port. For a parallel module, the maximum number of lines per port is always 8. As explained in
Digital Data (Integer Format) - NI-DAQmx, 8-bit and 16-bit formats can only be used if there are 8 (or less) lines in the port of your largest channel.
The
U8 (port format),
U16 (port format) and
U32 (port format) DAQmx Read VIs shown below read all lines provided by the port. Therefore, when using a serial digital I/O module, DAQmx will recognise that a module which may contain more than 8 lines per port is in use, and an error occurs.
![DAQmx port format.png](/servlet/rtaImage?eid=ka0VU0000000llJ&feoid=00N0Z00000HEWRM&refid=0EMVU000001YL4f)
If it is necessary to read less than the maximum number of lines supported by the module, use the
DAQmx 1D Boolean (N Lines) VI.