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: