LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crash after editing or deleting a particular tab

The code I built in LabVIEW 8.5 has a heiarchy of tabs. One of the tabs in particular has been giving me trouble. If I make a certain amount of edits to the tab or if I delete the tab all together and then try to save, LabVIEW crashes.

The error message is 'labview 8.5 developement system has encountered a problem and needs to close. We are sorry for the inconvenience'. I cant hit 'debug' to get further information because labview just closes.

I attached the code.
The tab that is giving me trouble is ARF>Femur>PCL Anterolateral Attachment. Simply delete the tab and then try to save and the error should occur.

Thanks,
Thomas


0 Kudos
Message 1 of 8
(3,367 Views)
Today I continued working on the file, simply not touching the tab that was giving me problems and working around it.
However as I edited the file it seemed increasingly volatile and prone to crashing labview when I tried to save the file.

On a side note, I looked at an older version of the file that I had saved about a week ago. This file also crashes if I try to remove the tab that is giving me trouble and then saving. This makes me think it is a bug in labview or something I did to the file a longer time ago.
However, the fact that the file crashes more easily now after I edited it today makes me think that I am doing something to the file now that is making it more volatile.

Any help would be appreciated.
0 Kudos
Message 2 of 8
(3,355 Views)
Today I continued working on the file, simply not touching the tab that was giving me problems and working around it.
However as I edited the file it seemed increasingly volatile and prone to crashing labview when I tried to save the file.

On a side note, I looked at an older version of the file that I had saved about a week ago. This file also crashes if I try to remove the tab that is giving me trouble and then saving. This makes me think it is a bug in labview or something I did to the file a longer time ago.
However, the fact that the file crashes more easily now after I edited it today makes me think that I am doing something to the file now that is making it more volatile.

Any help would be appreciated.
0 Kudos
Message 3 of 8
(3,354 Views)

Hi Thomas,

Thank you for contacting National Instruments.  I have had the opportunity to open up your VI on my end and test out the behavior you have described.  In the trials that I have conducted, I have not experienced this same crash.  Are you right clicking and choosing Remove Tab Control or Remove Page?  Both of these methods have been able to work for me and I have been able to save this file.  Do you have administrative rights on the computer when you are attempting to save the VI?

The file does not seem to be corrupted, as it works on this end, but a few other suggestions that I can provide would be to copy everything into a new VI and try to delete it then save. However, if that doesn't work, I would try to repair your LabVIEW installation.

Are there any LabVIEW error codes that you are experiencing in this process?  The message that you provided could be a prompt from Windows that is shutting down your instance of LabVIEW.

I hope this helps.  Let me know if any of the suggestions are helpful or there is any more information.  Have a great day!

Jason W.

National Instruments
Applications Engineer
0 Kudos
Message 4 of 8
(3,318 Views)

Jason,

Sorry I wasn’t clear. By remove tab I meant going to the block diagram (not front panel), right clicking on the case structure selector with PCL Anteriorlateral Attachment displayed, and selecting ‘delete this case’.
Yes, I do have administrative privileges.

Please let me know if the above described steps cause a crash for you. If they doesn’t I can try reinstalling LabVIEW

I previously unsuccessfully attempted to copy, paste into a new VI, remove the tab, and save.

Yes I believe you are right, the error prompt is from Windows XP not LabVIEW.

0 Kudos
Message 5 of 8
(3,308 Views)

Thomas,

I apologize; I should have tried this method when looking into this before.

I went ahead and removed the tab from the block diagram as you described with no problems.  This indicates to me that we should probably go forward with a repair or reinstallation of your LabVIEW software to hopefully resolve this corruption.

Jason W.

National Instruments
Applications Engineer
0 Kudos
Message 6 of 8
(3,289 Views)
I will be leaving for winter break tomorrow so I will have to work out the problem when I get back. I will let you know how things develope then. Thanks for your help.
0 Kudos
Message 7 of 8
(3,274 Views)

I ended up rebuilding the tab structure of my code and copying and pasting the guts. This fixed the problem.

However, as I have been working on the code, the time it takes to save has slowly been increasing. On the last code, before it crashed, it would take a really long time to save and then crash. It seems that the problem develops over time as I make large amounts of changes to the code. It is as if there are a bunch of small errors that build to cause it to crash.

If the problem occurs again in the future I will probably just go through and rebuild my tab structure again. This is annoying but doable.

0 Kudos
Message 8 of 8
(3,067 Views)