There are two minor issues with your vi:
- The DAQmx Timing.vi is set to "Use Waveform" but your waveform doesn't contain timing information as it is not a waveform datatype but a DBL array. You should switch either the datatype of your waveform or change the DAQmx Timing.vi to "Sample Clock" and provide a sample clock parameter.
That's what I did in a test and now the application is running fine.
- The while loop in your vi never stops as long as there is no error so you will have to press the abort button in order to stop the vi. This is not a clean way to stop a data generation task as DAQmx clear task.vi is never called.
I hope that helps,
Jochen Klier
National Instruments Germany