Is it possible to run multiple DAQmx tasks on a single device at the same time? On a PXI-4204, I need to do a 1 point sample on ai0 every 100ms or so. The timing is not critical on this, so right now I am simply doing a 1 channel 1 point DAQmx AI task every 100ms in a loop. While this loop is running continuously, i need to randomly sample 1000 points at 1000 Hz on ai1 on the same card. When I try to start a second task after either of the two are first running, I get an error.
Is there a way of doign this? These two tasks need to be independent of eachother, but sometimes must run at the same time. This is a simplified version of what my application requires, but if there is a way to do this I can figure out the rest.
I am not too familiar with DAQmx and the 4204 yet, perhaps I am going about this the wrong way. Any input will be much appreciated.