Example Code

Busy Wheel, Progress Bar, Splash Screen

Code and Documents

Attachment

Download All

I spent some time trying to create the behavior and effect of a “busy wheel” with some added functionality for feedback and control. I think I finally achieve decent results and thought I should share with the community.

Special thanks goes to Elijah_K and Mark.Ridgley whose examples provided the key pieces to this work. Please see: https://decibel.ni.com/content/docs/DOC-17541 and https://decibel.ni.com/content/docs/DOC-1086

This example is really designed as a “busy wheel” but the underlying functions and structure should be well suited to things like a progress bar or splash screen.

Some key features are transparent windows and asynchronous reentrant operation. “Wheelie” instances launch on top of everything and communicate using simple queues.

FYI: this will only work on Windows systems and cannot be used or saved in LV versions before 2012 (at least not without significant re-work).

Please feel free to leave suggestions in the comments section!

Cheers,

Wheelie Example Screen Shot.png

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

Contributors