Digital Multimeters (DMMs) and Precision DC Sources

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DMM Blue Screen Of Death

Im trying to detect NI-DMM Blue Screen Of Death cause. First using C++ Builder, I get a BSOD when my application is wrong terminated. SO I tried other options, like using National Intruments NI-DMM Soft Front panel, and when it's killed from the process window on Task Manager, it throws too a BSOD and restart the PC. This means your that your application has the same problem. Need urgent help. We have lot of DMM's installed at assembly plants.
0 Kudos
Message 1 of 4
(7,149 Views)
The cause of the Blue Screen is when killing the process, either from the debugger or the task manager, the driver does not get notified before being removed from memory. If it still has locked pages, which it will if an acquisition is in progess, you will then see a blue screen. Right now, the only way to avoid the blue screen is to call niDMM_close before terminating the process. This only applies to the NI 4050 and NI 4060, not the NI 4070.

Mark
0 Kudos
Message 2 of 4
(7,149 Views)
does not work...I tried it...

- execute a nidmmRead
- break after that function
- terminate program
- rerun program...NIDMM BLUE SCREEN OF DEATH(good name)
- NOTHING can stop it !!!
- Make Software User Friendly -
0 Kudos
Message 3 of 4
(7,149 Views)
Hello,
a workaround against this BlueScreen is to close, reinit, close the DmmHandle.
for example:
ViSession DmmHandler2;


niDMM_close(DmmHandler)
niDMM_init(the same device, VI_TRUE, VI_TRUE, &DmmHandler2);
niDMM_close(DmmHandler2);

Also if you use the NI-DMM version 2.1.2 the same behaviour occured.
Kind regards

Christian Tenhumberg
measX, Germany
0 Kudos
Message 4 of 4
(7,149 Views)