Example Code

Creating a pop-up that gathers data from user, transfers data to another VI, and then closes

Code and Documents

Attachment

Download All

The following VIs allows you to ask the user for a series of data such as a username, date, time, etc... and then pass the data along to another VI.  Start by running "example main prog.vi".  This will call the "popup.vi" file where data can be entered.  The popup.vi file will wait until a button is pressed to forward the information.  Once the button is pressed, then the data is written to global variables, the popup.vi file is closed, and then code in the main program continues to execute.

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

Contributors