Example Code

VIs Showcase Fade In and Out sequence for LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

1. Overview

The main VI opens and runs all VIs stored in the "Showcase VIs" folder inside the project. The program then fades in and out between all the VIs based on the wait time set in the Main VI.

 

2. Description

This code allows you to "showcase" any number of VIs on a single PC by automatically fading the VI front panels in and out. This application was made to turn a PC at a tradeshow into a display/interactive station for booth visitors to see various LabVIEW applications without clogging the entire screen at once.

 

3. Requirements

  • NI LabVIEW Base Development System 2012 or compatible.

 

4. Steps to Implement or Execute Code

  1. Download and unzip the files.
  2. Move the VIs you want to showcase to the project's folder Showcase VIs.
  3. Open the LabVIEW project and open the VI “Main.vi”.
  4. Select the amount of time you want to showcase each one in Showcase time (ms).
  5. Run the VI.
  6. Click the Pause button to stop switching the VIs.
  7. Click the Stop button to close all the opened VIs and the Showcase.

 

5. Additional Information or References

 

VI Showcase Screenshot.PNG

 

**The code for this example has been edited to meet the new Community Example Style Guidelines.**

Todd S.
LabVIEW Community Manager
National Instruments

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