LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get Unhandled Exception in LabVIEW.exe: 0xC0000005: Access Violation so often?

I am trying to open a subVI without any external DLL calls, everything is built from LabVIEW base componenets.
0 Kudos
Message 1 of 2
(3,158 Views)
are you running win NT? This violation used to be pretty common on an NT box. Typically updating to SP6 (or even better win XP) will solve the problem.

Double check if you are doing file I/O in a loop, and if you are, look to see if you are either opening and closing the file each iteration, or using one of the high level file I/O VIs (they typically call an open and a close).

If it's not file I/O then look for other instances where you are opening and closing a reference to something often. Then is the classic way to get windows to assert the access violation error (...from LV).

You can also search NIs site for mention of this error code (0xC0000005), there are a few hits that might point out probable areas to look at.
0 Kudos
Message 2 of 2
(3,158 Views)