12-17-2012 02:33 PM
Hi,
I'm wondering what the best way would be to initialize two DAQ tasks, which share the same device but have differernt channels on the device. I'm trying one method, but I get a "resource already in use" error.
I currently have a vi which does a DAQmx create daq task, then an DAQmx create channel. I am calling this vi from two teststand steps, with unique channel names, physical channel, etc. Later, I try to do a DAQmx Start Task, I get an error on the second task, saying resource in use. I want to maintain a separate task because I may need to read at different times in different test cases, and also I am processing the data separately. It seems to make more sense to have them in their own task, but I'm having difficulty in the correct method to do this. Any insight much appreciated, thanks
David J.
12-17-2012 07:37 PM