10-06-2005 05:59 AM
I want to use MATLAB to read signal from a NI DAQ card: PCI-6034E. The device driver is NIDAQ6.9.3. And my MATLAB version is 7.0.4.
I write my program using the method that is presented by the Mathworks’ DAQ Demos ("anologinput"). It runs ok for the first time, but when I run the same program for the second or third time, the program will quit from Windows and gives following messages:
“ STOP:0X000000d1(……)
DRIVE_IRQL_LESS_OR_EQUAL
……-Nidaq32k.SYS
Beginning dump of physical memory “
After some time, the computer will restart.
I have checked the daq memory by "daqmem", and I find that the Daq Memory is decreasing when additional running is made.That is to say, the daqmemory can not be released completely even though I use the syntax "stop(ai); delete(ai)".
How can I free all the daq memory when the program finishes? Thanks.
10-06-2005 11:04 AM