Example Code

Display SubVI Front Panel with Controls Disabled Using 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

Download All

Overview

This project shows how to display the front panel of a SubVI without allowing the user to edit the controls similar to a splash screen.

 

Description

Main.vi calls SubVI.vi which displays the front panel of the SubVI in an uneditable mode. This is accomplished through front panel, property node settings within the SubVI.

 

Requirements

  • LabVIEW 2013 (or compatible)

 

Steps to Implement or Execute Code

  1. Run the VI.
  2. The front panel of the "SubVI.vi" will open for 5 seconds in uneditable mode.
  3. You will not able to change any of the controls, close the window, or resize the window.
  4. This front panel will then close and the "Main.vi" will display the values from the "SubVI.vi" outputs.

 

Additional Information or References VI Block Diagram

VI Snippet

splash.png

 

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

 

Applications Engineer
National Instruments

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