09-23-2008 07:27 AM
Hello,
I have got the following issue with a Multiple Slide Bar.vi ie. my 4th cursor (the red one symbolized by a vertical bar) will erase the orange (2d cursor) and green (3d cursor) area that are supposed to remain fixed during the whole execution. I am clueless as to how to solve this. The purpose of the VI is to have 3 fixed area (blue, orange, green) and a moving red cursor moving across the area.
Thanks a lot for your suggestions,
Christophe
09-23-2008 08:14 AM
Hi Christophe
If i were designing this I would cheat slightly. I would use two sliders one on top of the other with the top one invisible. They can reasnobaly easily been syncronized and read too.
have a look at the attched VI. will this approach work for you in your larger application?
best regards
09-23-2008 08:25 AM
09-23-2008 08:30 AM
Hi - yup, back another version for you.
best regards
09-23-2008 08:34 AM
Hello Christophe,
I've slightly modified your VI (see attachment). I simply switch the fill-color of the 4th slider depending on its position.
Maybe this works for you...
Regards,
Thomas
09-23-2008 08:36 AM
Thomas,
Could you please repost in LV8.2?
Thanks a lot,
Christophe
09-23-2008 08:38 AM
the priviously postet VI saved for LV8.2...
Thomas
09-25-2008 03:12 AM - edited 09-25-2008 03:15 AM
Thomas and Graham,
Thanks a lot for your help. Each of your solutions has its own merits (either lighter code or lighter front panel)!
Nevertheless I do not understand why I cannot reach the same result by configuring the 4th cursor in a "No Fill" mode to have it 'floating over' the 3 others.
Thanks,
Christophe
09-26-2008 07:03 AM
Hello Christophe,
the problem is not the "NoFill" of the 4th cursor, but the "FillToValueBellow" of the other cursors. As soon as the 4th sliders value is higher than the 1st one, the 2nd slider will fill to the value of the 4th. This makes your colors change.
Regards,