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 <a href="http://zone.ni.com/devzone/cda/tut/p/id/2835" target="_blank">here</a>. Please let me know if you have any
questions.
Thanks,
Message Edited by Nathan_R on 05-23-2008 02:19 PM