LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graduated Bar divider customization

According to this page: https://www.ni.com/docs/en-US/bundle/labview/page/numeric-controls-and-indicators.html?srsltid=AfmBO...

The graduated bar front panel element should have customizable dividers. However, after an hour of searching, I have found no way to do this. Can you really customize the dividers?

 

I have a VI that runs in a few successive stages, so I want to make a discrete progress bar to indicate the current operating stage.

0 Kudos
Message 1 of 8
(312 Views)

Here is a solutiopn using an array of booleans

arrayofboolean.png

slider.png

How you set the array is up to you ...

or you use an array of color boxes 🙂

 

the vi 'should' be backsaved to 2019.. however it's not that much 😉

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 8
(264 Views)

Yamaeda_0-1779451273956.png

If you customize the control you can have a gradient filler, or as background.

Yamaeda_1-1779451720834.png

Yamaeda_2-1779451998096.png

Note that the filler rescales the image, the background is fixed.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 3 of 8
(250 Views)

From the customize window, choose Show Parts Window to find all the components:

Screenshot 2026-05-22 090531.png

Screenshot 2026-05-22 090937.png

 

George Zou
0 Kudos
Message 4 of 8
(234 Views)

@zou wrote:

From the customize window, choose Show Parts Window to find all the components:


Is that the same as clicking on the Spanner icon?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 8
(230 Views)

Similar, you can find the parts yourself, or use the parts window to find the parts hidden behind.

 

George Zou
0 Kudos
Message 6 of 8
(201 Views)

I created a progress bar once what was a goose head scrolling across the window as a joke that only showed up on April Fools Day..

 

I just made an image that scrolled from left to right and had decorations cover up the portions I didn't want to see.

 

It is probably the most inefficient way possible. But you could create an image with the divisions you want.. or you could make one solid, and put decorations over the front to make it look like divisions in the bar.

 

If we abandon doing it the right way, it can be freeing..

 

 

wldgoose_0-1779901154584.png

 

 

 

 

Message 7 of 8
(64 Views)

@wldgoose wrote:

I created a progress bar once what was a goose head scrolling across the window as a joke that only showed up on April Fools Day..

 

I just made an image that scrolled from left to right and had decorations cover up the portions I didn't want to see.

 

It is probably the most inefficient way possible. But you could create an image with the divisions you want.. or you could make one solid, and put decorations over the front to make it look like divisions in the bar.

 

If we abandon doing it the right way, it can be freeing..

 

 

wldgoose_0-1779901154584.png


A Wild goose chase ...

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 8 of 8
(24 Views)