To download NI software, including the products shown below, visit ni.com/downloads.
Overview
To allow opening subVI front panel, running it then close and stop it with the same button
Description:
This example code allows you to open a subVI's front panel and run it at the touch of a button and then close and stop the subVI with the same button. It is done using the Producer/Consumer architecture and VI Server. The Producer/Consumer architecture ensures that we capture all of the events happening to the front panel, which the VI Server allows us to programmatically control the subVI.
Steps to implement or execute code
To implement this example:
To execute this example:
Requirements
Software
LabVIEW 2012 or compatible
Hardware
-
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.