05-22-2008 06:25 PM
05-23-2008 02:19 PM - edited 05-23-2008 02:19 PM
Hi Thomas,
You can acquire from both channels using one DAQmx task. Right now you are probably using the DAQmxCreateAIVoltageChan function to add the one channel to the task. You can call this function a second time specifying the other physical channel to add the second channel to the task. Then the DAQmxReadAnalogF64 will return the data for both channels. The fillMode parameter determines if this data is interleaved or non-interleaved in the sample array. A great article on the most useful NI-DAQmx functions can be found here. Please let me know if you have any questions.
Thanks,