Calling Non-Modal Windows Programmatically

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

You cannot open a non-modal window from a LabVIEW callback VI nor a DLL while any other process is running. If you want the callback VI or DLL to call a non-modal window, you must do so programmatically by completing the following steps:

  1. Add an Open VI Reference node to the block diagram.



  2. Wire the path for the non-modal window you want to open to the vi path input.
Note  You only can wire a path for a VI-based window to the vi path input. You can use the Call Library Function Node to open a window that is not VI-based. Before calling a window from a LabVIEW callback VI or DLL, be sure that window is configured as modal.
  1. Add an Invoke Node to the block diagram.

  2. Wire the vi reference output of the Open VI Reference node to the reference input of the Invoke Node.
  3. Select Run VI as the method on the Invoke Node.
  4. Wire a FALSE Boolean constant to the Wait Until Done input of the method.

WAS THIS ARTICLE HELPFUL?

Not Helpful