09-28-2010 11:16 AM
Hello,
my application give an error "Hardware-Timed, Non-Buffered Analog Acquisition is not available for the selected channels".So,please telll me the nature and solution for the problem.I have attached the vi and the details of the vi withis post.So,please solve my problem.
Regards,
Pradeep
09-28-2010 11:23 AM
You can only have a single HW-timed AO task running at once. You can reference multiple channels within a task by using notation such as Dev1/ao0:3
Best Regards,
09-28-2010 11:28 AM
Are you trying to do Acquisition or Generation? The code you attached shows only Analog Output Tasks. See here for an example of Continuous Analog Input. You can reference multiple AI channels the same way as you would reference multiple AO channels (e.g. using the notation Dev1/ai0:3).
Best Regards,
09-28-2010 12:15 PM
Hello,
Thanks for the reply . But I need to generate 4 signals from the DAQ at the same time.So,please tell me how to do it. When I tried to do so, I got an error as
"Hardware-Timed, Non-Buffered Analog Acquisition is not available for the selected channel" while executing.
Regards,
Pradeep.
09-28-2010 12:45 PM
You need to combine all AO channels into a single task. You reference the multiple channels like I mentioned earlier, and use the N channels variant of DAQmx Write so you can write to multiple channels at once.
The following example may or may not be what you need to do, but it does show how to write multilpe channels to the same task:
Update Multiple Channels of AO On-The-Fly
Best Regards,