Solution
In order to run a VI using the RunVI operation, the VI must have the correct connector pane (input, outputs & connector pane pattern), as shown below.
![](http://zone.ni.com/images/reference/en-XX/help/371361R-01/noloc_env_cli_runvi_conpane.gif)
The controls and indicators must have the types below:
Terminal | Data Type | Description |
---|
![](http://zone.ni.com/images/reference/en-XX/help/371361R-01/noloc_eps_callout_1.gif)
|
![](http://zone.ni.com/images/reference/en-XX/help/371361R-01/c1dstr.gif) String 1D Array
| Command line arguments for the VI. |
![](http://zone.ni.com/images/reference/en-XX/help/371361R-01/noloc_eps_callout_2.gif)
|
![](http://zone.ni.com/images/reference/en-XX/help/371361R-01/ii32.gif) I32
| CLI for LabVIEW exit code that the VI returns. |
![](http://zone.ni.com/images/reference/en-XX/help/371361R-01/noloc_eps_callout_3.gif)
|
![](http://zone.ni.com/images/reference/en-XX/help/371361R-01/istr.gif) String
| Output or error information to include in the CLI for LabVIEW console or log file. |