NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Splash Screen Effect in LabVIEW

VERSION 9

Created on: Nov 25, 2007 11:29 PM by Mark.Ridgley - Last Modified:  Nov 29, 2008 11:22 PM by Mark.Ridgley

REQUIREMENTS:
Application Software: LabVIEW Full Development System 7.0
Driver Software: NI-RIO 2.0
Hardware Family: Motion Control
Add-on Software: LabVIEW Real-Time Module 8.6.1
Product Category: cRIO-FRC
Development Topic: Acquiring User Input
Industry: Education
Application Type: Control
Technology: FPGA

The Splash in Main VI enables you to easily create a splash screen effect in your main application VI. Create a simple timed splash screen or one that waits for a user-defined event to occur - whatever suits your needs! Run the included example VIs to see the different behaviors that can be achieved.

 

Readme file for Splash in Main VI

 

Description

 

The Splash in Main VI enables you to easily create a splash screen effect in your main application VI.

 

NOTE: To ensure that you are using the latest version of the Splash in Main VI, please download the file with the most current date in the file name.


Application Software

LabVIEW 7.x

Driver Software

None.

Description of Operation

The Splash in Main VI produces a splash screen effect by scrolling the main VI's front panel. The size of the splash screen is defined by the area occupied by a target decoration (the front-most decoration) on the main VI's front panel.

When the Splash in Main VI runs, the main VI's front panel is resized and then scrolled so that the splash screen area is displayed.

The splash screen will close based on the setting of the "Close splash screen on (Timer)" input: If set to "Timer" (default), the splash screen closes after the number of milliseconds specified by the "Splash delay (3000 ms)" input. If set to "Event", the splash screen remains open until a user-defined event occurs.

After the splash screen closes, the main VI's front panel is set back to its original size and scrolled to show the main VI's functional front panel area.

Extracting the files

The Splash in Main VI is supplied as a zip archive containing all required items. The zip archive contains full path information.

When extracting the items, set the path to C:\. Since the zip archive includes full path information, the included items will be extracted to the following path:

C:\Program Files\National Instruments\LabVIEW 7.0\user.lib

Extracting the items to the user.lib directory makes the Splash in Main and usage example VIs available on the LabVIEW Functions palette.

Additional Information

Additional information related to the use and operation of the Splash in Main VI may be accessed via:

  • Execution of the usage example VIs
  • The block diagrams of all included VIs
  • The documentation within all included VIs


Developed by

 

Mark Ridgley
mark.ridgley@logicpd.com

 

Change control:

 

11-28-2007Modified code to read and save the original property settings of the main application VI so that the main VI's panel can be restored to the settings originally assigned by the developer.Fixed typos throughout.Minor cosmetic changes.

 

11-29-2007Added the "Splash in Main - Restore Main VI Properties" VI to the package. When using the "Splash in Main" VI in Event mode, you must add this VI to your main application VI to restore the original property settings of the main application VI.Updated VI documentation as required to reflect the use of this new VI.Updated palette views to show this new VI.

 

Downloads:
Tags: labview
Average User Rating
(1 rating)




BetaCommunityContent  says:

Splash Screen Effect in LabVIEW

 

cool~~            &n bsp;  

engineer27 engineer27  says:

I used a graphic with a transparent background. The splash effect maintained the transparency, showing only the foreground of the graphic on the windows desktop. Very cool, but unexpected. I assumed I would see the gray Labview background behind the graphic.

 

I'm not sure why it behaves that way, but glad it does.

More Like This

  • Retrieving data ...