LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graying out selections

Solved!
Go to solution

Is there a way, using property nodes, to get something to gray out on the front panel based on a user selection? For example, I want to have a radio button, or something similar, to display what type of experimental method was chosen from a drop-down menu. The other possible selections on the radio display would be grayed out, if not selected.

 

thanks in advance

0 Kudos
Message 1 of 12
(4,188 Views)
yes use the disabled property
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 2 of 12
(4,186 Views)
Set disable property to disable and gray (value 2).
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 12
(4,185 Views)

this post may also help you:

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=94393&query.id=85637#M94393

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 4 of 12
(4,173 Views)

csmrunman wrote:

Is there a way, using property nodes, to get something to gray out on the front panel based on a user selection? For example, I want to have a radio button, or something similar, to display what type of experimental method was chosen from a drop-down menu. The other possible selections on the radio display would be grayed out, if not selected.

 

thanks in advance


I'm assuming you know about event structures?

 

Bill

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 5 of 12
(4,145 Views)

Were you able to implement these suggestions? If you are having trouble, post it.

 

Thanks,

 

Anna K.

National Instruments
0 Kudos
Message 6 of 12
(4,087 Views)

I know how to disable and gray an item, like mentioned above, but that isn't what I'm looking to do. That option appears to have things permanently in that state, once selected. I wanted to disable and gray items out, only after another option had been selected.

 

As for event structures, I get confused as to what the differences are between it and case structures. I have no experience with event structures, so I see them in LabVIEW examples, but I get lost trying to figure out the setup. 

 

This would be a nice little add-on to my code and isn't the focus right now. So, I have pushed it to the side for the time being.

 

 

0 Kudos
Message 7 of 12
(4,069 Views)

untitled.PNG

 

This case in the event structure fires only when the disable boolean is pressed.

If you want a specific radio option, rather than the whole bank of radio buttons, you need to do something like this
untitled.PNG
Message Edited by elset191 on 09-09-2009 09:51 AM
--
Tim Elsey
Certified LabVIEW Architect
Message 8 of 12
(4,061 Views)

I was attempting to re-create both of those event structures, so I can get a better grasp of the coding and process, but ran into some issues. How, in that first screenshot, did you get NewVal to turn green, for the boolean? I can't for the life of me find an option that allows me to turn that NewVal green, so that it outputs a boolean.

thanks

0 Kudos
Message 9 of 12
(4,040 Views)
Solution
Accepted by csmrunman
The event has to be linked to a boolean control.  In hte top of the event structure you see it's called Disable: Value change.  Disable is the name of the boolean that you press.  The VI I used to make the picture is attached in my previous post.  Give it a look.
--
Tim Elsey
Certified LabVIEW Architect
Message 10 of 12
(4,035 Views)