06-25-2008 12:31 PM
06-27-2008 11:13 AM
07-01-2008 06:22 PM
Hi coanda,
The methods that you describe are very similar. Using the DAQmxRegisterEveryNSamplesEvent registers a CVICallBack which will occur each time N samples are placed in the buffer. You can call the DAQmxReadAnalogF64 inside of the callback. This will take place in the DAQmx thread. If you were to create your own callback that would call the DAQmxReadAnalogF64 based on the acquired samples, you would be creating the same functionality as the DAQmxRegisterEveryNSamplesEvent.