LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

yet another severe UI editor bug

Solved!
Go to solution

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

0 Kudos
Message 1 of 9
(4,416 Views)

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

0 Kudos
Message 2 of 9
(4,406 Views)

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

0 Kudos
Message 3 of 9
(4,403 Views)

Hi Wolfgang,

 

I could not re-create the crash either with my 8.5.1

Which version are you using?

S. Eren BALCI
IMESTEK
0 Kudos
Message 4 of 9
(4,386 Views)

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.

0 Kudos
Message 5 of 9
(4,381 Views)

Smiley Tongue 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  Smiley Wink

 

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

 

 

0 Kudos
Message 6 of 9
(4,379 Views)
Solution
Accepted by topic author Wolfgang

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

0 Kudos
Message 7 of 9
(4,350 Views)

Hello Nick,

 

thanks!

0 Kudos
Message 8 of 9
(4,348 Views)

This bug has been fixed in 2010SP1 Smiley Very Happy

0 Kudos
Message 9 of 9
(4,152 Views)