LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

the number of channels in the data does not match the number of channels in the task.

i an using NI-USB 6008 and when i click run , an error message appear : 

  Measurements: Write cannot be performed, because the number of channels in the data does not match the number of channels in the task.

When writing, supply data for all channels in the task. Alternatively, modify the task to contain the same number of channels as the data written.

Number of Channels in Task: 4
Number of Channels in Data: 6

Task Name: _unnamedTask<2F>

 

 

and error code :    Error-200524 

0 Kudos
Message 1 of 6
(5,769 Views)

Either change the number of physical channels to match the number of channels in the data or vice versa. You have not mentioned how many channels you actually want to read from and you have not attached your code.

0 Kudos
Message 2 of 6
(5,766 Views)

i want to get 4 digital output

0 Kudos
Message 3 of 6
(5,747 Views)

Then make sure you only have 4 channels worth of data when you do your write. If you are using an array, this means making sure that there are only 4 elements in it.

 

Why didn't you attach your VI?

0 Kudos
Message 4 of 6
(5,742 Views)

Clean up the sloppy wiring and you'll see your first comparison is done on all of the output channels of the read DAQ Assistant. Nothing is wired to the middle output of the split signal function.

 

 

0 Kudos
Message 6 of 6
(5,726 Views)