RunVI: Difference between revisions
Appearance
m Use Template:ConnectorPane |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
VIs called by this operation must have a specific connector pane interface, using the 4x2x2x4 pattern with one input terminal and two output terminals: | VIs called by this operation must have a specific connector pane interface, using the 4x2x2x4 pattern with one input terminal and two output terminals: | ||
{{ConnectorPane|pattern=4x2x2x4}} | |||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
Line 12: | Line 12: | ||
|- | |- | ||
|11 | |11 | ||
|{{ | |{{Terminal|type=control|string array}} | ||
|style="text-align: left;"|Command line arguments | |style="text-align: left;"|Command line arguments | ||
|- | |- | ||
|3 | |3 | ||
|{{ | |{{Terminal|type=indicator|i32}} | ||
|style="text-align: left;"|Return code | |style="text-align: left;"|Return code | ||
|- | |- | ||
|2 | |2 | ||
|{{ | |{{Terminal|type=indicator|string}} | ||
|style="text-align: left;"|Output/Error message | |style="text-align: left;"|Output/Error message | ||
|} | |} |
Latest revision as of 12:03, 4 January 2025
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:
Terminal | Data Type | Description |
---|---|---|
11 | Command line arguments | |
3 | Return code | |
2 | 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
- Predefined Command Line Operations (LabVIEW User Manual)