Run a VI from the Command Line

Updated Dec 7, 2023



  • 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 following these steps. 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. 

Follow the next steps for running the VI from the command prompt:
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 for 64-bit the path is C:\Program Files\National Instruments\LabVIEW 2023\LabVIEW.exe and for 32-bit C:\Program Files (x86)\National Instruments\LabVIEW 2023\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.