I have written a VI that I would like to run with the LabVIEW command line interface (CLI) using the built-in operation RunVI. When I attempt to run the command I receive an error 1031, "VI Reference type does not match VI connector pane".
In order to run a VI using the RunVI operation, the VI must have the correct connector pane, as shown below.
The controls and indicators must have the types below:
The RunVI operation is written to be as generic as possible, but if you need to run a VI with a different connector pane it is possible to create a custom operation.
The built-in operations are also written using LabVIEW and can serve as a useful template for developing your own custom operations.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.