Error -200463 When Reading Multiple Digital Lines

Updated May 4, 2023

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I had a NI-DAQmx Digital Input task configured and working properly. When I changed the task to include multiple lines, and I now receive error -200463. How can I fix this?

Solution

The read operation failed because the number of lines in the channel does not match the number of lines in the data. You have modified the task, but not the DAQmx Read. Ensure that the number of lines or array dimension matches the number of lines in the channel.

For example, when reading a single point on a single line, you are using Digital Bool 1 Line 1 Point for DAQmx Read:



You will need to change to a Digital 1D Bool 1Chan 1Samp to read a single point from multiple lines. Multiple digital lines can be read from the same channel as shown below: