LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a setpoint overlay line on a tank indicator

Solved!
Go to solution

Is there a method known for handling this best? I have been experimenting with custom controls and parsing out their GObjects, casting them to controls and playing with the properties some, but haven't had a lot of luck. I tried this with a tank indicator I configured with mutliple slides (using transparent fills but red level marker lines) but it didn't seem trivial to programmatically set the value of those things, nor get them to behave in a neat overlay feature one might use for tank low/high bound setpoints. 

 

0 Kudos
Message 1 of 6
(4,473 Views)

If you use the tank indicator just add a sliders and set the properties.tank.png

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 6
(4,440 Views)

How is this done programmatically? Example: User double clicks this particular tank, and a modal popup with 2 setpoints (low, high) is requested of the user and these settings are pushed to modify slider 2 and 3, which are being used as simple markers transposed onto the tank. (transparent fill, red level line) 

 

0 Kudos
Message 3 of 6
(4,396 Views)
Solution
Accepted by topic author dest2ko

Send control reference into SubVI, and use the value property node.

 

Tank Edit.png

0 Kudos
Message 4 of 6
(4,372 Views)

This is more or less what I ended up doing. I couldn't actually name the slider labels of the Silver class tank indicator in LV and have them stick. I could label the digital displays, but nothing that would let me name the cluster bundle on the block diagram. Presumably it's strict? Anyways, I created a custom control that shows me what I'm bundling data into and then just feeding it into the slide value property (with it's coercion dot.) 😛

 

0 Kudos
Message 5 of 6
(4,366 Views)

Yeah, the silver one looks tricky to configure!

0 Kudos
Message 6 of 6
(4,357 Views)