LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

gray out switch

Solved!
Go to solution

hi drek,

 

Gerd says its a labv7 problem

 

The only problem is: LabVIEW7 doesn't use an enum for this property. In this ancient version simple integers were used.

 

i quess dont know, need do look for anonther solution

No, you don't need another solution. You only need to create the correct value and wire it to the property node.

Again: read the context help for this property node to know which value you need to use!

 

What's your problem in reading the help?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 31 of 40
(2,250 Views)

think i understand now , if i use 0 nothinh happens, 1 the swtich is blocked, 3 the switch is blocked and grayed out ?

0 Kudos
Message 32 of 40
(2,241 Views)
Gerd is right. Enumeration is a way of tagging a number with a label. Enum: Enabled , 0 Disabled, 1 Disabled and Grayed Out, 2 Set the input to Numeric Constant = 2.
0 Kudos
Message 33 of 40
(2,240 Views)

thx guys for al the patience Smiley Wink now just find out how to reset

Spoiler
 
0 Kudos
Message 34 of 40
(2,233 Views)

Hi drek,

 

if i use 0 nothinh happens, 1 the swtich is blocked, 3 the switch is blocked and grayed out ?

Did you read the context help?
Really?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 35 of 40
(2,228 Views)

nno did not 🙂 found it now trying to reset it 🙂 

Spoiler
:womanlol:
0 Kudos
Message 36 of 40
(2,225 Views)
The context help, which you have been repeatedly told to read, tells you the numeric value that you can use. This is a trivial problem to solve.
0 Kudos
Message 37 of 40
(2,214 Views)
Solution
Accepted by topic author drek123
instead of 2 (Disable and Hide) at the beginning of the program, you are going to use 0 (Enable) at the end of the program to get it to come alive again. Right click the property node and choose "Change to Write" if you're having trouble writing to the property
0 Kudos
Message 38 of 40
(2,210 Views)
Did you get your answer so we can solve this question?
0 Kudos
Message 39 of 40
(2,188 Views)

so i have to make a new property node with visible ?

0 Kudos
Message 40 of 40
(2,161 Views)