LabvIEW Error 7 When Using Command Line Interface RunVI Command

Updated May 15, 2023

Reported In


  • LabVIEW
  • LabVIEW Command Line Interface

Issue Details

I am trying to use the LabVIEW Command Line Interface (CLI) and want to use the RunVI command. When I do that, I get the error listed below. What do I do?
Error Code : 7 
Error Message : Open VI Reference in>>>><APPEND> 
VI Path: <b>C:\</b> 
An error occurred while running the RunVI operation. 

RunVI operation failed. 


Make sure that you are following the formatting in the Predefined Command Line Operations guide for the RunVI. A few things to remember:
  • The "Command line arguments for the VI" is a string array
  • The "CLI for LabVIEW exit code that the VI returns" will return either a 0, 2, or 3 depending on the circumstances. You will choose which value to output.
  • The "Output or error information to include in the CLI for LabVIEW console or log file" is a string