08-20-2009 11:32 PM
we are getting error 200524
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 the task:1
number of channels in data:2
Could we also get an explanation for the difference between channels and samples. Thanks!
08-20-2009 11:37 PM
Channels would be each DAQ input or output. You could acquire 1 or more inputs at a time.
Samples would be how many data values to acquire for each channel, it could be 1, it could be millions.
08-20-2009 11:42 PM - edited 08-20-2009 11:43 PM
08-21-2009 12:06 AM
08-21-2009 01:48 AM - edited 08-21-2009 01:50 AM
channel is physical point on the DAQ board........Sample is a data point to be acquired or generated.........
When you are acquiring a signal using one channel, you mention how many data points you want to acquire on that channel.
08-21-2009 10:44 AM
Channels ai0, ai1, ai2, ....
Samples, I want to acquire 1 data point on each channel, or I want to acquire 1000 datapoints, 1 million datapoints ......
08-21-2009 11:11 AM