MATLAB: Does the NI PCMCIA – 6062E 6024E 6036E crash with a blue screen when I attempt to collect analog input data with the Data Acquisition Toolbox 2.2 (R13)

6024e6036e6062eacquisitionbluebluescreencrashdaqdataData Acquisition Toolboxdriverdriversinstrumentsnationalnipcmciar13screen

I am using the latest driver from National Instruments: Driver version 6.9.3f3.
The following code reproduces the problem:
ai = analoginput('nidaq',1)
ai.SampleRate = 1000;
ai.SamplesPerTrigger = 10*1000;
addchannel(ai,1);
start(ai)
dat = getdata(ai);
The same problem is reported for the NI PCMCIA-6024E and PCMCIA-6036E cards.

Best Answer

This bug has been fixed in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
National Instruments (NI) has released a patch for their NI-DAQ 6.9.3 drivers. This patch has been known to resolve blue screen crashes. The patch is located at the following FTP site from NI:
Because this patch was made available after NI-DAQ 7.0 was released, upgrading to NI-DAQ 7.0 will not resolve the blue screen problem. Customers who have upgraded to NI-DAQ 7.0 are asked to uninstall 7.0, and install NI-DAQ 6.9.3 along with the driver patch.
If the patch does not resolve the blue screen problem, you can try adding another channel and disregarding the data collected on this channel to workaround this issue.
Some customers have also reported that setting the 'Samples Per Trigger' property to 'Inf', or setting the 'TriggerType' to 'Manual' have solved their problems. You may wish to try these suggestions at your own discretion.