03-06-2013 11:39 AM
Hi All,
I'm just curious if someone has come up with a simple solution to this.
Please reference the picture.
To create this, I have a slider control with 3 sliders on it. The middle value being my target value, but as long as my results fall within that range (adjustable by using the range control), then everything is ok.
This will allow the operator to enter a target for a specific test result, in this case 46.5458, and allow them the option of tightening or loosening the tolerance of an appropriate result.
Using property nodes etc, I can get to this point, but I obviously would like the color between the middle and upper pointer to be grey also and I just can't seem to get there. Any hints, helps or other ideas for an approach would be greatly appreciated.
Thanks,
Dan
03-06-2013 11:52 AM
I don't have LV open, but I believe you should be able to do what you want by changing the fill style and color on each of the sliders. See here for an example - http://forums.ni.com/t5/LabVIEW/Multi-colored-Graduated-Bar/m-p/675529/highlight/true#M310368
03-06-2013 01:00 PM
Make the color of the Middle slider to grey and keep the filling as upside down.
Good luck
03-06-2013 01:42 PM
Simple mod to a VI I posted before. I have an event structure to do two jobs: (1) when you click on the slider it grabs the closest one and not the active one. (2) Keeps the values sorted so the setpoint remains in bounds. Added the fill so the middle region is grey (no fill).
03-06-2013 01:43 PM - edited 03-06-2013 02:04 PM
03-06-2013 02:13 PM
Well... sorry it took me a while to get back to this. I've been interrupted on a variety of issues.
The vi that tst (I think - whoever did the first reply) triggered an idea. I noticed that each slider covered up the slider before it.
Now before I uncover the spoiler in apok's reply, I want to post my approach and see how close it matches.
Thanks for the help.
Dan
03-06-2013 02:14 PM
ok... now an additional question. I have never made an active x control. Would this be a good candidate for it?
Dan