02-23-2016 12:11 AM - edited 02-23-2016 12:11 AM
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.
Solved! Go to Solution.
02-23-2016 05:53 AM - edited 02-23-2016 05:53 AM
If you use the tank indicator just add a sliders and set the properties.
02-24-2016 10:24 PM
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)
02-25-2016 10:17 AM
Send control reference into SubVI, and use the value property node.
02-25-2016 10:29 AM - edited 02-25-2016 10:30 AM
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.) 😛
02-25-2016 10:42 AM
Yeah, the silver one looks tricky to configure!