Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Calling Non-Modal Windows Programmatically

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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. Place an Open VI Reference node on 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. Place an Invoke Node on 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.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit