LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crashing occurs when closing and opening a VI

Solved!
Go to solution

All,

I am working on a project that generates crash reports. I've looked and looked and I can't seem to find where the possibility of the crash is occurring. It only does this if I close the VI and reopen it. My guess is that I am not closing something gracefully but I can't identify it.

 

I am hoping someone can take a look and let me know where the crashing might be occuring.

0 Kudos
Message 1 of 18
(4,060 Views)

@Eric1977 wrote:

All,

I am working on a project that generates crash reports. I've looked and looked and I can't seem to find where the possibility of the crash is occurring. It only does this if I close the VI and reopen it. My guess is that I am not closing something gracefully but I can't identify it.

 

I am hoping someone can take a look and let me know where the crashing might be occuring.


Isn't it ironic that it is the crash report generator that is crashing?  I'm looking at it now.  😄

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 18
(4,057 Views)

Which VI was that?  (Also, some files seem to be missing.)

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 18
(4,055 Views)

Should me Main.vi.

 

Which files seem to me missing?

0 Kudos
Message 4 of 18
(4,017 Views)

billko_0-1624599993335.png

 

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 18
(3,970 Views)

@Eric1977 wrote:

All,

I am working on a project that generates crash reports. I've looked and looked and I can't seem to find where the possibility of the crash is occurring. It only does this if I close the VI and reopen it. My guess is that I am not closing something gracefully but I can't identify it.


Does it crash right when reopening the VI or only after you start it again?

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 6 of 18
(3,964 Views)

Bill - here are the missing control and clusters.

Download All
0 Kudos
Message 7 of 18
(3,944 Views)

It seems to happen right as it reopens. You'll get a few successful runs with the VI but takes 2-3 times before it fails and crashes.

0 Kudos
Message 8 of 18
(3,941 Views)

rolfk,

 

Here's the crash report which looks like memory addressing?

 

Eric1977_0-1624637779659.png

 

0 Kudos
Message 9 of 18
(3,930 Views)

@Eric1977 wrote:

rolfk,

 

Here's the crash report which looks like memory addressing?

 

Eric1977_0-1624637779659.png

 


It's relatively difficult for LabVIEW to achieve a memory access violation because it is pretty good at keeping track of its resources.  This is usually caused by a dll causing an exception that makes LV crash.  Possibly .NET related?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 10 of 18
(3,921 Views)