I am converting a program that used the legacy NIDAQ drivers to NIDAQmx. I haven't found any discussion on double-buffering in the NIDAQmx documentation. I have looked at the Cont Acq-Int Clk example. Is that the way that continuous data acquisition should be handled in NIDAQmx? i.e. call DAQmxReadAnalogF64 (or similar func) from within a while loop? I assume that the func is blocking? It appears that this blocking call locks the user out of the interface though.
Can someone please summarize the mapping between the dubble-buffering legacy approach and what should be done in NIDAQmx?
Thanks.