Example Code

Modular VI

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 code shows a method for allowing a user to call SubVIs from a Top Level VI using an event structure.


Description
This code consists solely of a while loop and an event structure that handles user interaction with each of the four buttons on the front panel.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Run VI
  2. Press the sub vi button.

 

Additional Information or References
VI Block Diagram

 Block Diagram.png

 

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

 

Josh B
Applications Engineer
National Instruments

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

Comments
GSXR100038
Active Participant
Active Participant
on

Hi,

Can you post this project in Labview 2011 please ? . Thanks