ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

progress bar maximum

I want to be able to change the maximum value of a horizontal progress bar programmatically based on user entry into a "cycles requested" field. I am using a property node to try to do this, but the progress bar display does not change range. For example, the bar is set with a maximum of 100 cycles when I build the vi. If the user selects a value of 12, the progress bar indicator will show the updates to the value of the slider, but the 12 steps will still take up just 12/100 of the length of the bar. How do I set the progress bar to show each increment as 1/12 of the space?

I am using LabVIEW 7.0.

Thanks.

Bev
0 Kudos
Message 1 of 5
(5,464 Views)
What property are you using? I should be Scale.Maximum.
0 Kudos
Message 2 of 5
(5,455 Views)
Is it possible that you are writing the wrong property, e.g. "DataRange:Maximum"? This will no affect the scale, but only the allowed values for the numbers.

You need the property "Scale.Range:Maximum". See if this helps. 🙂
0 Kudos
Message 3 of 5
(5,452 Views)
As was mentioned in the previous post you must use the "Scale.Maximum" Here is a _very_ simple demo.


Putnam Monroe
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 4 of 5
(5,446 Views)



Thank you all three! That is just exactly what I needed.

BevP
0 Kudos
Message 5 of 5
(5,437 Views)