06-26-2007 06:10 PM
06-27-2007 12:38 AM
Look at the attached example
It does a software timed, continuous single point AI acquisition on 4 AI channels
Here you can also specify how to address the physical channels
Hope this helps
Any doubts, do ask
Regards,
Dev
06-27-2007 12:30 PM
Hi Eduardo,
Devchander posted a great example for software timed, but I just wanted to footnote that you can also use ‘Dev1/ai0:4’ for the physical channel list. Also, the reason all of this is done in one task, and not 4 separate tasks, is because the card (unless simultaneously sampled) has one analog timing engine and one ADC which it uses along with a multiplexer to switch through the channels.
06-27-2007 08:10 PM
06-27-2007 08:18 PM
07-17-2008 06:43 AM
07-17-2008 08:54 AM
07-17-2008 09:06 AM
07-17-2008 12:26 PM
Your VI is very confusing. You have one DAQ task with channels 0:15, you stop that, and then have a DAQ Assistant. I don't think the DAQ Assistant is starting a new task each time you run it so that would be one major problem. since you've used the DAQmx functions earlier, why not do the same thing if you want to start a new task? Is that what you really want to do? Acquire all channels at some rate and then acquire 2 channels at a different rate?
Your analog out is also incorrect because you are trying to start two separate tasks with the same resource. The sequence structure is doing nothing because you have nothing in the first or last frame and even if you did, dataflow controls execution order.
01-29-2009 11:58 PM