Click and drag VIs from the Functions»Select a VI palette to a block diagram to create a subVI call to that VI. Use the same technique for custom controls, type definitions, and global variables. You also can drag text and pictures from the Windows Explorer and other applications to copy them to front panels and block diagrams.
Drag and Drop Capabilities
You can perform the following tasks within LabVIEW using the drag and drop capabilities:
Drag front panel controls and indicators to block diagrams to create block diagram constants and vice versa.
Drag a subVI to a path control or constant to place the full pathname of the subVI in the control or constant.
Drag a VI icon from the icon pane in the upper-right corner to a block diagram to instantly create a subVI call. By pressing the <Shift> key while dragging the VI icon, you automatically wire the non-default values of the controls as constants for the subVI. If the subVI already appears in a block diagram, pressing the <Shift> key while dragging onto the existing call updates the attached constants. A control at its default value discards the constant attached to the subVI, and an input wired to anything other than a constant is unaffected.
Drag and drop global variables and custom controls.
Drag a VI icon into a VI refnum on a front panel control to load VIs into memory dynamically, which is part of the VI Server functionality.
You can perform the following tasks between LabVIEW and another application using the drag and drop capabilities:
Drag a file to a path control or constant to place the full pathname in the control or constant.
Drag a datalog file to a Datalog File Refnum to create a cluster that contains the data structure in the datalog file.
Drag a graphics file to a VI icon, picture ring control, front panel, or block diagram to place the picture in the control, on the front panel or block diagram, or on the VI icon. LabVIEW can import all graphic files that your computer supports.
Drag a custom control file to the front panel to place the custom control on the front panel.
Windows You can drag pictures and text from one application into the front panel or block diagram, provided the application supports ActiveX technology. For example, you can drag and drop a bitmap or a section of text from a Microsoft Word document to the front panel or block diagram.
Macintosh Drag a text clipping or text selected from any application to place that text in a string control or constant, front panel, block diagram, or label.
Macintosh Drag an image clipping or an image selected from another application to place it in a picture ring control, front panel, or block diagram.
Macintosh Your system must have the Drag Manager to drag and drop text and pictures from other applications. Systems 7.5 and later include the Drag Manager. It is available for System 7.0 up to System 7.5 as an extension from Apple Computer.
Note You cannot release the object until LabVIEW highlights the destination.
Refer to your operating system documentation for more information about the Drag and Drop capabilities.