LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to output more than one analog waveform

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?

Download All
0 Kudos
Message 1 of 2
(2,442 Views)
Partially solved.
0 Kudos
Message 2 of 2
(2,427 Views)