Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

1

Make a Splash in LabVIEW


March 8, 2012
Mark Ridgley // Certified LabVIEW Developer (CLD)
LabVIEW Instructor Anoka Technical College
Senior Test Development Engineer
2
> Why a splash screen?
> Is there a need?
> Methods for implementing a splash screen
+ Transparent tab control
+ Sub-VI with a fade out effect
+ VI Server with dynamic loading
+ Splash in Main
> Questions / Comments
Agenda
3
> More professional look and feel
> Most applications feature a splash screen
> Users expect it
Why a Splash Screen?
4
> Native functionality hasnt been provided in LabVIEW
> Tutorials pertaining to building better user interfaces
exist, but most dont say anything about splash screens
> Google LabVIEW splash screen
Is There a Need?
5
> Transparent tab control
+ Simple concept
+ Example is easy to implement
+ A complete solution using this method is not easily
implemented
- Requires specific modifications to your application
Methods
6
DEMONSTRATION
Examine an example VI that uses a transparent tab control
to implement a splash screen
Transparent Tab Control
7
> Sub-VI with a fade out effect
+ Simple concept
+ Example is easy to implement
+ A complete solution using this method is not easily
implemented
- Requires specific modifications to your application
Methods
8
DEMONSTRATION
Examine an example VI that uses a sub-VI with a fade out
effect to implement a splash screen
Sub-VI With a Fade Out Effect
9
>VI Server and Dynamic Loading
+ This is the accepted way
+ More complex
+ A complete solution using this method is not easily
implemented
- Requires specific modifications to your application
build process
Methods
10
DEMONSTRATION
Examine an example VI that uses the VI Server and
Dynamic Loading to implement a splash screen
VI Server and Dynamic Loading
11
> Splash in Main
+ Stats
- Created
Nov 25, 2007
- NI News
May 4, 2010 issue: Featured code example
February 7, 2012: Top 5 Example Codes in 2011
- NI Community
More than 5500 Downloads
- NI Developer Days Presentation
Framework Credit: Advanced LabVIEW User Interfaces.pdf
Methods
12
>Splash in Main
+ Easy for LabVIEW users of all skill levels to
implement
+ Works whether the code is executed as a VI or built
into an executable
+ Distribution includes 4 fully-documented and
functional example Vis
+ Complete solution implemented using as little as a
one VI
Methods
13
DEMONSTRATION
Examine the four Splash in Main example VIs
Splash in Main
14
DEMONSTRATION
Examine an executable that utilizes the Splash in Main VI
Executable That Utilizes Splash in Main
15
DISCUSSION
Questions / Comments
16
+ Download the Splash in Main distribution
- https://decibel.ni.com/content/docs/DOC-1086
+ Google: LabVIEW splash screen
+ Experiment!
Continue Exploring This Topic
17
Thanks for your time
Mark Ridgley // Certified LabVIEW Developer (CLD)
LabVIEW Instructor Anoka Technical College
Senior Test Development Engineer

You might also like