From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Creating Progress Bars in LabVIEW

Code and Documents

Attachment

This example shows how to implement a progress bar by calling a VI dynamically. The example generates 3000 random numbers and a progress bar shows how far the generation has advanced. The progress bar is implemented with three subVIs that launch, update, and then close the progress bar. This set of VIs is useful in large applications where progress bars may be required in different components of the application. A custom message can be provided for the progress bar in each case.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors