LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to show/hide sliders on a slider control using property nodes?

If I have a slider with multiple sliders on it how do I change which sliders are visible using property nodes? The only property I have found is making the entire control to be visible or not.  This is a possible solution to have two different controls, one slider with only one slider and another slider with two sliders overlapped, but not desirable.

 

I found on a thread in the forum that it is possible but the user did not provide any specifics about which property it was. (http://forums.ni.com/ni/board/message?board.id=170&message.id=181279&query.id=34404#M181279)

 

I would appreciate an example VI if possible (Preferred version is 8.5 but versios 8.2, 8.0, and 8.6 are available to me).

 

Thank you in advance for the help,

Aaron

0 Kudos
Message 1 of 4
(4,838 Views)

Just make them transparent! Here's a quick draft.

 

 

Message 2 of 4
(4,821 Views)
altenbach's draft looks good. This initializes the slider with a preference (color in this case) and changes to transparent if an event happens (click of the checkbox in this case). You should be able to develop this event to fit your application. Thank altenbach if this helps.
0 Kudos
Message 3 of 4
(4,797 Views)

Thank you altenbach for the suggestion. Such a simple solution; I had used color change before but did not think to look for transparency.

 

This will probably work, the only issue I could see would be if the user selects the transparent one inadvertently.  This will probably be solved around by a reduction in size of the transparent one to greatly reduce the possibility of selecting it, or programmically change the transparent value based on the visible slider value to avoid selecting it if is close to the other slider.

 

0 Kudos
Message 4 of 4
(4,786 Views)