Hi,
The attached code is based off of the ContAcq-IntClk.c code example from NI.
The code works correctly with actual hardware but blue screen crashes when run with simulated devices.
I did some investigation and it seems that the crash happens only with simulated devices and only if I explicitly commit the task using DAQmxTaskControl
The crash always happens when acquiring a 2nd set of data with a larger number of scans than the 1st set of data acquired.
cDAQ1Mod1 is a simulated device
Running on Windows 7 (32 bit)
NIDAQmx Driver: 9.1.0f0
Please find the code to reproduce this problem attached.
Thanks,
whemdan, The MathWorks