LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dual Slide Properties Set in Case Structure

Solved!
Go to solution

Hello, My objective is to change the properties of a dual slide indicator depending on the value.  I have a target value and actual value.  If the actual value is greater than the target, the fill is green between the target and actual values (fill style=3 to value above).  If the actual value is less than the target, the fill is orange between the target and actual values (fill style=4 to value below).  I am able to accomplish this by selecting properties on an individual slide, however, when I use a case structure and property nodes, the result isn't what I want.  A simple example is attached.  

Also, is it possible to set properties of Slide 1 and Slide 2 in the property node? 

0 Kudos
Message 1 of 7
(3,216 Views)

Can't try your code.  Missing subVI.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 7
(3,194 Views)
0 Kudos
Message 3 of 7
(3,185 Views)
Solution
Accepted by stacey54

You have to set the fill style for both sliders.

See attachment.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 4 of 7
(3,171 Views)

Perfect.  Thanks!

0 Kudos
Message 5 of 7
(3,164 Views)

An XControl would be alot closer to "Perfect"

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 6 of 7
(3,152 Views)

Somewhat related to that, here is an XControl that's a vertical pointer slide with a readback indicator.

The pointer shows the selected value, and the fill shows the value read back (there's an example of use in the .llb).

 

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 7 of 7
(3,094 Views)