LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Progress bar

I cannot open the VI. Your LV version is newer than mine.

0 Kudos
Message 11 of 21
(1,265 Views)

What version do you have?

Certified LabVIEW Architect
0 Kudos
Message 12 of 21
(1,263 Views)

Mine is version 18.0.1

0 Kudos
Message 13 of 21
(1,257 Views)
0 Kudos
Message 14 of 21
(1,256 Views)

I use this a lot,

"If you weren't supposed to push it, it wouldn't be a button."
Message 15 of 21
(1,197 Views)

@altenbach wrote:
... or in a popup (subVI could show its front panel with only a progress bar visible).?

Here's a quick example for that

 

(Intentionally kept simple. Note that the process can be interrupted by e.g. pressing cancel or the <esc> key. Modify as needed)

 

 

altenbach_1-1579799489376.png

Message 16 of 21
(1,180 Views)

What should i do if i have so many for loops in parallel and i want to know about the progress of all of it as a whole ?

0 Kudos
Message 17 of 21
(1,136 Views)

Idea: 

Each for loop has a current iteration and a max (N). Add all N to get the max for the progress bar and let each for loop send its updated iteration to Main, which adds the iteration-values and sets it to the progress bar.

Certified LabVIEW Architect
0 Kudos
Message 18 of 21
(1,131 Views)

Again, channel wires to the rescue. Using the accumulator tag and one counter for N and one for i, there is almost no code.

 

 

Certified LabVIEW Architect
Message 19 of 21
(1,127 Views)

I have many for loops in my SubVis and if i use channel methods then it is going to be very messy. Is there another way around ?

0 Kudos
Message 20 of 21
(1,077 Views)