ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enumerated control with disabled items locks LabVIEW

I have a vi for which I am trying to set up an enumerated which allows specific values to be selected for given values of another control. I am trying to implement this by disabling the unused values. The attached example works fine if the "Number of Ports in Injection" is set to 2 and I am disabling all but the first 10 enumerated values. If I set "Number of Ports in Injection" to 2 the program should disable the first 10 items, enable the next 9 items, and then disable the remainder of the list. This appears to be working properly.

The problem comes when the "Number of Ports in Injection" is set to two and I try to increment the enum. LabVIEW locks up and shows not responding in the Task Manager. I have to kill LV before continuing.

Does anyone have any idea what's going on? I've never run into this problem before.

Thanks.

John
Running LabVIEW 7.1 on Windows 2000 Pro
0 Kudos
Message 1 of 3
(2,883 Views)
Hi John.
It looks like somethig is corrupted in your vi.
To get the enum running as it should, replace it by a menu ring control, save the vi and replace it back by a enum. That should fix the problem.

Cheers
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
Message 2 of 3
(2,872 Views)
Thanks Alipio. That fixed the problem. Here's you some stars.
0 Kudos
Message 3 of 3
(2,852 Views)