Run a VI from the Command Line

Updated Oct 24, 2020



  • LabVIEW

Operating System

  • Windows

I'd like to launch a VI or multiple VI's from the command line of my Windows computer.

In order to do this, you have to configure each VI to run upon startup. The process for this is detailed here . Once each VI is configured to run when opened, you can launch VI from the command line, however it requires launching LabVIEW prior to running the VI, as is required for running VI's. The process for this...

1) Open up a command prompt
2) If needed navigate to the C drive by typing C:
3) Type the path and file to LabVIEW. Typically this is "C:\Program Files (x86)\National Instruments\LabVIEW 2018\LabVIEW.exe" 
4) Add the path and file to the VI you want to run. For example "C:\Users\<Username>\Desktop\myVI"
5) Add a space and repeat step 4 with your next VI.