LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change my Array control Index to a scrollbar

I would like to replace the Index Display of a Array control with a scrollbar, in LV 6.02

Any suggestions ?
0 Kudos
Message 1 of 7
(5,116 Views)
If a numeric slide (scrollbar look-alike) would suffice: then insert any of the numeric 'slides' from the numeric palette and wire it into the index number input of the Index VI (also wire in your array and wire out an indicator). This will allow you to use the slide to choose which array index you want to display. You can work with formatting these controls & elements to get the look your want.
Good luck with it, Doug
0 Kudos
Message 2 of 7
(5,115 Views)
Thanks for the awnser.

That is what I have ben doing sofar. However I tend to use this quite often. Thus I was hopping to replace the standard Index control that is part of the Array control, via the customize controls editor. However there must be more to it than simply editing a custom control and replacing the Index with a Slider. Thats what I had hoped to do.

Irealy want to make my own custom control, which I can then use in many of my GUI and applications.

Typically I have an Array of clusters containing settings for Measurements.
0 Kudos
Message 3 of 7
(5,115 Views)
Go in the control editor (select array and "Customize Control...").
In Edit mode, select the Index control and "Customize Control..."
Replace the index control with a scrollbar.
Exit both control editor windows replacing the controls.
Done.

Jean-Pierre Drolet

"jens" a ecrit dans le message news:
506500000008000000D92A0000-999158726000@exchange.ni.com...
> I would like to replace the Index Display of a Array control with a
> scrollbar, in LV 6.02
>
> Any suggestions ?


LabVIEW, C'est LabVIEW

Message 4 of 7
(5,115 Views)
That is spot on. I was one step away from it. I simply did'nt realize that I needed to customize the Index again and then replace.
Thanks You for the tip.
0 Kudos
Message 5 of 7
(5,115 Views)
This works fine, but if I want to use a vertical scrollbar, the Slider controls don't look right. They have the zero value with the indicator at the bottom. A normal scrollbar should have the indicator at the top for zero and then increasing as it goes Down. How do I get this to work? Can you invert the scale or orientation of a vertical slider?

-Kirk
0 Kudos
Message 6 of 7
(5,115 Views)
Hi,
I tried all and it works fine, but until LV7.1 there is no real Scrollbar and so I used a pointer slide instead.
With LV 8 I found a real scrollbar, but the customizing doesn' t work anymore!
I also can´t export the LV8 scrollbar to LV7.1 which I still will be using for some time.
Do  you have any suggestions how to get a real scrollbar (horizontal and vertical) to work with LV Arrays?
thanks
tom
0 Kudos
Message 7 of 7
(4,801 Views)