02-26-2009 10:25 PM
I use AO.vi to output one analog waveform is ok.
I read the data from text file and assemble into a waveform and send to a write task. It is successful.
Then I tried to output 2 analog waveform at same time.
I tried to add attribute of the waveform by ao0 and a01.
Finally failed, the error is from the write task, it said the single sample write cannot hold multi sample write.
Athough I think I am single sample, I selected multi sample and tried again. Said,
'Write cannot be performed when the auto start input to DAQmx Write is false, task is not running, and timing for the task is not configured or Timing Type is set to On Demand.
Set auto start to true, start the task, or configure timing and specify Timing Type other than On Demand.'
Any suggestoin?
02-27-2009 12:38 AM