LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2009 SP1 often crashes when replacing a CXT Numeric

LabVIEW 2009 SP1 (Windows 32-bit) will often crash when a CXT control/indicator is replaced by another Numeric.  It immediately closes all windows without any indication of the error.

 

To replicate:

 

1. Create a Numeric control, and set the representation to CXT.
2. Replace the control with another Numeric (same or different type)

Sometimes this causes a crash, more often when replacing with a System Numeric, but has happened for all types.  If it doesn't crash the first time, keep replacing, and it will within 4-5.

 

Can anyone else replicate this?

0 Kudos
Message 1 of 10
(3,967 Views)
Crashed on try#2.  Got a Not Responding response, not the all windows closing response.
0 Kudos
Message 2 of 10
(3,964 Views)

Same here on first try.

 

There was no message about the crash when I reopened LabVIEW.

0 Kudos
Message 3 of 10
(3,948 Views)

I was also able to reproduce the crash. I have filed a corrective action request (#236322), so R&D has been made aware of this behavior. Thanks for bringing it to our attention!

 

Take care!

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 4 of 10
(3,928 Views)

I get a similar crash when clicking the 'replace all' button in the search results window, replacing a type def enum with another type def enum.

All LabVIEW windows disappear instantly with no warning.

When I restart, it offers to recover files.

 

Just thought I'd add another similar scenario for the developers in case it helps with finding the source of the crash.

 

The 'replace all' function has done this a few times with other object types too.

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 5 of 10
(3,856 Views)

Hi Troy,

 

Are you seeing this crash in LabVIEW 2009 SP1 as well?

 

Could you also post a simple VI and the controls you created to reproduce this crash?

 

Thanks!

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 6 of 10
(3,846 Views)

Yes, we're using LabVIEW 2009 SP1 Pro with ClearCase a source control.

 

I've attached a duplicated section of code (from a much bigger application) that I did the find and replace on which caused the crash.

 

The only problem is... it wont crash. I didn't go out of my way to repeat the crash when it happened so I'm sorry I can't be more helpful.

 

We do get similar crashes semi-regularly so when it happens again I'll be sure to invesigate further and post.

 

 

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 7 of 10
(3,825 Views)

Thanks Troy. Any steps you can provide to reproduce the crash would be appreciated.

 

Take care!

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 8 of 10
(3,806 Views)

OK here's a vi that keeps crashing LabVIEW on me.

I'm trying to replace all the 'modern' style enums with system enums.

 

I right click on a modern style enum in the 'Match criteria' area > Replace > System > Ring & Enum > System Enum

 

A few times it crashed on the first one, sometimes I get through a couple, once I got to the 5th enum, but I've never got through them all.

 

A couple of times LabVIEW locks up with a wait cursor and half of the front panel blanked out, but mostly it just disappears.

 

When I restart LabVIEW, there is no 'LabVIEW crashed'  message or file recover dialog.

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 9 of 10
(3,756 Views)

I finally managed to get through them all by starting with table and then the enum on the far right (instead of top left) and saving in between each find and replace.

 

I don't know if that helps or hinders but there you have it. One more bread crumb.

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 10 of 10
(3,749 Views)