LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Slide Bar cursors

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

0 Kudos
Message 1 of 9
(3,821 Views)

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

Graham Green

Sr. Product Marketing Manager

National instruments
Message 2 of 9
(3,810 Views)
Graham,
Sorry could you please repost in Labview 8.2?
Thanks,
Christophe
0 Kudos
Message 3 of 9
(3,805 Views)

Hi - yup, back another version for you.

 

best regards

Graham Green

Sr. Product Marketing Manager

National instruments
0 Kudos
Message 4 of 9
(3,801 Views)

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

 

0 Kudos
Message 5 of 9
(3,797 Views)

Thomas,

Could you please repost in LV8.2?
Thanks a lot,
Christophe

0 Kudos
Message 6 of 9
(3,793 Views)

the priviously postet VI saved for LV8.2...

 

Thomas

0 Kudos
Message 7 of 9
(3,790 Views)

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

Message Edited by Christ0phe on 09-25-2008 03:15 AM
0 Kudos
Message 8 of 9
(3,739 Views)

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,

Thomas
0 Kudos
Message 9 of 9
(3,712 Views)