LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can't control slider numeric state

Solved!
Go to solution

Hi everyone,

 

Put a slider on the front panel with its numeric control displayed. And then try to modify the state of the slider and of the numeric control : deactivate one and activate the second . It looks like the states can be modified independantly. But that's not the case. The numeric control gets the state of the slider...

 

I tried to modify it programmatically with property nodes but once again in vain.

 

Is this a bug? If so, I don't understand why LV would allow users to modify properties of the numeric control Smiley Sad if in any cases we have to create another (fully independent this time) numeric control.

 

Thanks for your answers!

Chris

 

 

 

0 Kudos
Message 1 of 4
(2,693 Views)
Solution
Accepted by topic author superfunk

superfunk wrote:

Hi everyone,

 

Put a slider on the front panel with its numeric control displayed. And then try to modify the state of the slider and of the numeric control : deactivate one and activate the second . It looks like the states can be modified independantly. But that's not the case. The numeric control gets the state of the slider...

 

I tried to modify it programmatically with property nodes but once again in vain.

 

Is this a bug? If so, I don't understand why LV would allow users to modify properties of the numeric control Smiley Sad if in any cases we have to create another (fully independent this time) numeric control.

 

Thanks for your answers!

Chris

 

 

 


 

THe digital is a child of the slider and inherits the value from the slider as well as its enable disable state.

 

There is a case where setting the properties seperately are useful. If you customize the control, you can replace the digital with another type of indicator (a dial for example) where it is handy to be able to set its range and properties (like its ramp colors).

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,684 Views)

Chris,

 

I do not understand what you are asking.

 

A slider with its digital display is still just one control. If you create a property node for the digital display you can change its visibility.  However if you make the entire control invisible you cannot make the digital display visible.

 

Lynn 

0 Kudos
Message 3 of 4
(2,680 Views)

Thanks for the explanation!

Chris

 

 

@Johnsold: I was not talking about visibility but disable/enable state. If you click on the numeric control, you can access this property but it doesn't work independently of the slider.

Message Edited by superfunk on 06-15-2010 09:54 AM
0 Kudos
Message 4 of 4
(2,671 Views)