Example Code

Asynchronously Call Custom Dialog Box Created As LabVIEW Front Panel

Code and Documents

Attachment

Description:

Similar to NateBraska's Custom Dialog Box example, this one allows the user to create custom dialog box from a LabVIEW Front Panel. This one is a simplified version that demonstrates a quick use case of the Start Asynchronous Call function in LabVIEW.  Notice that the Main VI continues running unhindered while the Dialog Box SubVI is called, runs, and waits.

Instructions:

  1. Open the Main VI.
  2. Run the Main VI.
  3. The "Custom Dialog Box From Front Panel" SubVI will pop up, displaying a custom message created from a LabVIEW Front Panel.
  4. The Main VI continues to run (the counter increments) while the SubVI runs and is closed.
  5. Note that you can use VI properties to customize the SubVI to limit the user's capabilities (resizing, etc.)

Main.png

Custom Dialog Box From Front Panel.png

Ryan C.
Applications Engineer
National Instruments

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

Contributors