LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A Control made of a simple XControl become unresponsive

Something locks Labview when simply making a Control out of a XControl.
 
To see this (beware Labview will be unresponsive to keyboard and mouse inputs) create a XControl with a Numeric on the Facade VI and add an empty Value Change event for this Numeric. Create a Control with this XControl on it and try to change the value of the Numeric. See how Labview enters an infinite loop with the Numeric continuously increasing. Labview becomes completely unresponsive.
 
Naturally that does not occur if the XControl is placed on a VI, instead of a Control.
 
Has anyone got an explanation for this unexpected Control response ?
 
Windows XP Pro 2002, Labview 8.5 Evaluation Version
 
0 Kudos
Message 1 of 7
(3,183 Views)
Hello Julian.

"See how Labview enters an infinite loop"

Maybe you should have a look at the condition of the end of your loop. I think it will be helpful Smiley Wink.

Regards.

Romain D.
National Instruments France

0 Kudos
Message 2 of 7
(3,134 Views)

Thank you Romain for trying to address this issue. May be you can be more specific ?

In the attached original zip file you will see that there is no loop except the one of the XControl Facade VI and this loop has nothing special and I left it unmodified. If you try to increment/decrement the Numeric value on the "Control.Look.At.Me.ctl" file, Labview locks itself and actually seems to enter an infinite loop.

After having developped 1000-large VI applications, I am still puzzled by this unexpected XControl lock problem but I may have overlooked something. Any idea how this locking problem could be solved ?

Best regards.

0 Kudos
Message 3 of 7
(3,105 Views)
Hi Julian3,
 
I tested your application under LabVIEW 8.2 and it works fine. Maybe this could be a bug of LabVIEW 8.5, so I told the R & D team about your issue and I'll keep you informed.
 
Best regards,
0 Kudos
Message 4 of 7
(3,046 Views)

Hello Maxime,

Thank you for your active position regarding this issue and informing R&D team. I can confirm it works fine under LabView 8.2. For others who would like to reproduce the "lock" issue, it is important again to use Labview 8.5 and to increment/decrement the numeric with the mouse. Changing the numeric value by simply entering a number in the numeric field will not reproduce the lock issue.

Regards.

0 Kudos
Message 5 of 7
(3,033 Views)
"Maybe this could be a bug of LabVIEW 8.5, so I told the R & D team about your issue and I'll keep you informed."
 
Hi Maxime,
 
Please share the CAR number so we can track this issue.
 
I am using X-Controls in an app I am currently developing where I had to go to LV 8.5 because of another bug in LV 8.2.
 
Thank you!
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 7
(3,029 Views)

Hi,

 

Maxime was not at the office this week.

This was reported to R&D (CAR# 68775) and was fixed in the next version of LabVIEW.

 

Regards,

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 7 of 7
(2,997 Views)