Re: I have a for loop with 15000 iterations, and i'd like to...
Hi. I mentioned this briefly in the previous response. You might want to try using the Horizontal Graduated Bar or the Horizontal Progress Bar both in the third row of the numeric subpalette of the controls palette. Since they are LabVIEW indicators, as opposed to activeX controls for which you have to interact with a server, I think execution must be much faster.
Re: I have a for loop with 15000 iterations, and i'd like to...
Yes but suppose i have 2 separate For loops, and i want the progress bar to keep track of the 1rst loop until half the progress bar, and then keep track of the 2nd loop until 100% of the progress bar. The problem is, i cannot connect 2 wires to the horizontal progress bar indicator to be able to update the value of the progress bar. Can i? And thank you for your quick answer previously (the files wouldn't open, i have labview 5.1.1)
Re: I have a for loop with 15000 iterations, and i'd like to...
hummm You're using LV5.1. I can't remember if what I suggested would work in that version. Hopefully it does.
Re: I have a for loop with 15000 iterations, and i'd like to...
I reasd the other posts where you mention that the progress may come from seperate loops. You can create a reference and a property node (write value) to pass the value to the progress bar. This allows you to send values from different locations to a single progress bar. For instance. Right-click the progress bar (Microsoft bar??) and select Create Reference. In your loops, use the property node to obtain the value and send it to the progress bar. You can even use this in sub-vi's. JLV
Re: I have a for loop with 15000 iterations, and i'd like to...
Thank you Joe but I was already using the microsoft progress bar in different loops by updating its value in its property node. It takes a long time though for large iterations (it adds at least 14 seconds for the loop time for 15000 iterations), not to mention that i'm using a poor pentium II processor... The labview slider bar is much much faster as suggested by my previous replier but i can't seem to update its value sequencially... . Thank you.
Re: I have a for loop with 15000 iterations, and i'd like to...
Greetings, Naddad: What's wrong with using one of the several available Labview progress bars? That way you won't have to keep dipping into the windows application, which should speed things up considerably. (Besides, the Labview bars are a lot better looking than Windows bars, IMHO. :) Eric