Message Edited by Merlin-3 on 10-23-2007 12:09 PM
Yes, you are wrong on something.
Look at the post http://forums.ni.com/ni/board/message?board.id=250&message.id=34247. With a single task, you can specify a different gain (by using a different RangeMin, RangeMax) for each DAQmxCreateAIVoltageChan that you call. So, if you had 4 channels with different range settings, you call DAQmxCreateAIVoltageChan 4 different times, pointing to the same task, and then call the start task.
Message Edited by Merlin-3 on 10-23-2007 12:42 PM
To get the current write position, I think this is the function: DAQmxGetReadTotalSampPerChanAcquired().
But still I do not have the buffer address.