Jump to content

RunVI

From LabVIEW Wiki
Revision as of 07:54, 3 January 2025 by Logmanoriginal (talk | contribs) (Created page with "'''RunVI''' is a built-in operation installed by the NI LabVIEW Command Line Interface add-on. It runs a VI with a specific connector pane interface and returns the output or error information. ==Connector pane== VIs called by this operation must have a specific connector pane interface, using the 4x2x2x4 pattern with one input terminal and two output terminals: Default 4x2x2x4 {| class="wikitable" style="text-align: center;" !...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RunVI is a built-in operation installed by the NI LabVIEW Command Line Interface add-on. It runs a VI with a specific connector pane interface and returns the output or error information.

Connector pane

VIs called by this operation must have a specific connector pane interface, using the 4x2x2x4 pattern with one input terminal and two output terminals:

Default 4x2x2x4

Terminal Data Type Description
11 1D array of string Command line arguments
3 32-bit integer Return code
2 string Output/Error message

Synopsis

 LabVIEWCLI -OperationName RunVI
            -VIPath <path> [<arg>...]

Options

-VIPath <path> [<arg>...]
Path to a VI with a compatible connector pane interface. Additional arguments can be specified (separated with spaces) that are passed to the VI.

External links