02-17-2011 11:24 AM
Hello NI,
I've just ruined my last work when CVI crashed. I have reproduced this behavior two times.
Here is how:
1) In the UI editor, create a new recessed menu ring (I did not investigate other ring controls)
2) Open it to edit the ring attributes
3) Open Edit label/value pairs
4) Don't enter anything, simply press OK
5) Press OK to leave the Edit Ring panel
6) Discard the control
You will find that CVI disappears (not saving any unsaved files).
I have not investigated if variations of this procedure also result in a crash.
So much for today,
Wolfgang
Solved! Go to Solution.
02-17-2011 03:00 PM
Hey Wolfgang -
I've tried to reproduce this in CVI 2010 and CVI 2009 SP1, but haven't been able to so far. You're directions seem very straightforward, so I wonder if I'm just missing something? I've attached a flash video file of my attempt to reproduce the issue, could you take a look and let me know if there's something else I need to do?
I'm very sorry to hear that you have lost your work today. We intend CVI to give you the opportunity to save your files before it crashes, but we've found a bug that has been preventing this mechanism from working. That bug should be fixed in the next major version of CVI.
I'm just curious, do you have autosave enabled in CVI? CVI should make backups of any unsaved files periodically (configurable from Options»Environment»Auto backup interval), and prompt you to restore the backups in the event of a crash. Does this mechanism seem to be working for you?
NickB
National Instruments
02-17-2011 03:48 PM
I forgot to mention that to view the .swf file you just need to drag it into an internet browser with Flash installed.
NickB
National Instruments
02-18-2011 12:17 AM
Hi Wolfgang,
I could not re-create the crash either with my 8.5.1
Which version are you using?
02-18-2011 12:39 AM
Thanks, Nick and Ebalci, for the assistance!
Obviously I was not using an empty panel, whereas you did. So I will try to simplify my panel and see if I can bracket the source of the problem - I suspect either tab panels or menu bars...
@Nick: Thanks for the nice movie 🙂
@Ebalci: I am using CVI2010.
02-18-2011 01:01 AM
OK, my suspicions were wrong: after removing all tabs and menus and controls there was only one thing left...
... it's really a surprise...
what do you guess?
no, not me
it's the panel title...
I have chosen a long title (actually, 240 characters long), composed mostly of spaces, in order to have the panel title plus a version info, visually separated.
Shortening the title avoids the crash...
Wolfgang
02-18-2011 10:06 AM
Hello Wolfgang -
I've been able to reproduce the issue, and filed a bug report with ID 285633. As a workaround, you should be able to programmatically set the long panel name instead of setting it to be so long in the UI Editor.
I'm sorry for the inconvenience,
NickB
National Instruments
02-18-2011 10:16 AM
Hello Nick,
thanks!
08-05-2011 12:09 PM
This bug has been fixed in 2010SP1