top of page
For Structure

This VI shows the basic operation a a for loop in LabVIEW.  The used specifies the number of iterations for the loop and the current iteration is displayed.  The user also specifies the wait time in ms between each loop iteration.  In the block diagram N is the number of iterations and i is the current iteration.  

Up Down Counter
While Structure

This VI shows the basic operation of a while loop in LabVIEW.  The loop repeats until a condition occurs.  In this case the loop will repeat aslong as the proceed switch is returning true.  The loop waits for a specified time before repeating.  The iteration number is fed into the count indicator and a progress bar.

Nested Count

This VI shows the functionality of nested loops.  The user enters an inner count value and time interval.  The user also enters an outer count value.  Every time the inner loop finishes the outer loop iteration increases by one until it reaches the user entered value.    

 

 

bottom of page