NI Labs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make slider, to work as a control as well as indicator in same program

working on labview 2012, i require my slider work as a control in manual mode and as a indicator in auto mode,

how can a single slider configured as a control and indicator in case structure or program.

Regards

Regards
mms79
0 Kudos
Message 1 of 3
(5,498 Views)

Create it as a control. When you want it to be an indicator, disable it, but do not gray it out, using its property node, and write to it using a local variable. When you want it to be a control again, enable it.

This will not change its appearance, although you can do some things there by using its properties to change the size of the slider knob or its color.

Message 2 of 3
(2,992 Views)

Thanks GFGray,

By changing local valrible to write my problem s solved.

Regards
mms79
0 Kudos
Message 3 of 3
(2,992 Views)