04-27-2009 11:41 AM
Dear All
I am trying to do something similar to what is implemented in one of Labview example "Multi-Function-Synch AI-AO.vi" but here I just change the AO type to "Analog 1D Wfm NChan NSamp ". Here I attached my subVI which is called by a wrapper and takes its input from that.
When I run my application I get this error "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." Do you have any idea where I went wrong?
Best regards
Afshin
04-27-2009 01:41 PM
Hi,
Which card you are using?
does it support On-Demand Timing Type?..
the error message appeared because, you did not set up the update rate for Analog Out. If you do not want to mention the update rate, you can simply make "Auto start" input TRUE on the AO write VI.
If you mention the update rate using Timing VI, you should keep this "Auto start" input FALSE.
Anil
04-27-2009 01:58 PM
Hi Anil
My card is called PCI-6024 E (if I remember correctly) but I think it supports on demand updating because even in the self test it is set to "on Demand" by default.
Regarding the updating rate, even in the example of labview there is nothing to set this value in particular so what I should change in my application.
best regards
Afshin
04-27-2009 02:29 PM