LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 8.5 crashes when I right click on my XControl and try to replace it with a regular type def

Right clicking on my XControl and trying to replace it with a cluster of the same datatype crashes LabVIEW 8.5.  Is there something wrong with my XControl?  Is anyone able to do this without crashing?  Is this a known issue?
 
Thanks,
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 1 of 10
(3,557 Views)

Is your Xcontrol being used by another part of your program when you try to replace the type def? That'd cause it to crash.

This behaviour might be specific to LV8.5, I'm using 8.2 and had no trouble changing the type def on Xcontrol's before.

 

Regards,

Andy

0 Kudos
Message 2 of 10
(3,547 Views)

It's not open in any other VI's in memory, but it only happens when I try to replace it while it is on the front panel of a custom control; i.e. when the control is in edit mode. 

I've already discussed a similar crash with NI tech support that occurs when you try to change the value of an XControl when it is on the front panel of a custom control.  This is probably related.  Any response from NI?

Thanks,

Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 3 of 10
(3,527 Views)
I am not aware of such a problem, can you post a simple XControl with steps to reproduce the crash?  I tried replicating it given the information in this thread so far and saw no crash or otherwise unexpected behavior.
0 Kudos
Message 4 of 10
(3,515 Views)
Hi,
 
I am working with the Applications Engineer who is investigating this issue as well. I'll get back to you as soon as we have a definite answer for you. This could possibly be a bug. Does this crash occur every time, or sporadically? Could you attach the error log that is created?
 
Thanks!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 5 of 10
(3,516 Views)
Hi Amanda and Jeff,
 
Thanks for taking the time to reply.  (Jeff, this is Robert Mortensen, by the way). 
 
Here are the steps to reproduce:
 
1.  Open Simple Dual Mode Thermometer XControl.lvproj
2.  Create a new control in the project
3.  Place the XControl on the new control's front panel
4.  Try to move the slider of the XControl
5.  LabVIEW freezes
 
This happens every time to me, and Samantha (AE) was able to reproduce the freeze.
 
No error log is created, as LabVIEW freezes instead of crashing.
 
I've spend the last several days wrestling with this and other XControl problems.  LabVIEW has crashed literally 70-80 times on me in my efforts.  I have 40-50 copies of my XControl in various subclusters of a datatype that is about one megabyte on disk.  I would get to the point where simply opening my main VI would cause LabVIEW to crash.  I would then have to iteratively try to open in a project, open outside a project, mass compile, or place on a blank block diagram, each of the different custom controls or VIs associated with the XControl in the right order to get things recompiled properly so LabVIEW wouldn't crash.  Nightmare.  The short of it is that I've ripped the XControls out of my typedefs and am only using them as single controls on a VI's front panel.  A painful workaround, but apparently necessary.  I think some additional testing of XControls, especially when used in conjunction with type defs and in larger quantities, would be in order.
 
Thanks,
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 6 of 10
(3,502 Views)
Hi,
 
Could you be a little more specific in your steps to reproduce this issue? I'm having a hard time replicating it.
 
Thanks!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 7 of 10
(3,485 Views)
Amanda,
 
I apologize for any ambiguites.  Please let me know where these modified instruction aren't specific enough:
 
1.  Open "Simple Dual Mode Thermometer XControl.lvproj" from the Example Finder in LabVIEW 8.5
2.  Right click on "My Computer" and select "New >> Control"
3.  Drag "Simple Dual Mode Thermometer XControl.xctr" onto the front panel of the new control
4.  Try to move the slider of the XControl you placed on the new control
5.  LabVIEW freezes
 
Thanks,

Message Edited by FlamingYawn on 10-12-2007 04:19 PM

Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 8 of 10
(3,477 Views)
I've filed a Corrective Action Request for this issue. I'm so sorry about the inconvenience this has caused you. Thanks for reporting this bug so that we can fix it for a future release of LabVIEW.
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 9 of 10
(3,468 Views)

Hey Robert, good to hear from you!  Sorry, I was out on Friday so I missed your reply until now.

This was reported to R&D (4EBHHCWS) for further investigation.  Amanda filed this report, I was just providing the CAR ID for you.  Sorry to hear about all your problems with XControls.  If you find any more specific issues, please let us know so we can address them, I have to admit that I haven't used them much yet myself.

Message Edited by Jeff B on 10-15-2007 09:52 AM

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