Example Programs

Showing results for 
Search instead for 
Did you mean: 

Show Busy Indicator in LabVIEW


This example demonstrates the 4 basic steps required to use the Show Busy Indicator VI in state machine design.



The Show Busy Indicator VI enables you to provide an indication to the user that the system is busy. This functionality is useful if your application performs operations that take more than a few seconds to complete. Run the included example VIs to see how you can implement this functionality in your applications. The Show Busy Indicator VI is a modified version of the TestStand - Show Busy Indicator.vi by National Instruments.



LabVIEW Full Development System 2012 or compatible


Steps to Implement or Execute Code

  1. Run the EXAMPLE 2 - Show Busy Indicator (State Machine) VI
  2. Enter the SHORT milliseconds to wait value, the specified millisecond wait is executed and no busy indicator is displayed.
  3. Enter the LONG milliseconds to wait value, the specified millisecond wait is executed and the busy indicator is displayed.
  4. Move the main VI window and notice that the busy indicator is always displayed in the center of the main VI window.  

Additional Information or References

Note: The busy indicator will not be displayed if the calling VIs front panel is not the frontmost panel when this VI is called.

Example 1 VI Block Diagram



Example 2 VI Block Diagram





**This document has been updated to meet the current required format for the NI Code Exchange. **



Developed by


Mark Ridgley

Member carlfield

good job,thank U very much!

Member TomOyen

Simple and clear, exactly what I was looking for. Excellent code, thanks!

Member Mark.Ridgley Member

Good Morning, Tom

Thanks for the great feedback. I’m glad you like the code and find it useful.

FYI – you may find some of the other code that I’ve contributed to the LabVIEW Community useful as well.

Thanks again and let me know if you have any questions or comments.

Have a great day!


Mark Ridgley

Owner, Radius Teknologies, LLC

Certified LabVIEW Developer (CLD)

Certified TestStand Developer (CTD)

Certified Professional Instructor (CPI)

LabVIEW Champion



Member zmod_cz

Hello. Thanks for this code. I am using labview 2016 and when running your example state machine (UI-Example 2)   “long Duration” I notice that clicking “Perform Long Duration Operation” does show the busy indicator correctly. If I then wait till it disappears and repeat the process the busy indicator dialog seems to grow in size each time. Eventually it is large enough to see the “OK” button as well. Any thoughts on this ?