LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

launching VI from command line

Solved!
Go to solution

I followed the instructions found at https://www.ni.com/docs/en-US/bundle/labview/page/launching-a-vi-from-the-command-line.html

 

I have a simple VI called Test.vi  which has dialog box that should display the command line argument in pop-up box.

 

C:\>"C:\Program Files (x86)\National Instruments\LabVIEW 2014\LabVIEW.exe" "C:\DataLogger\Test.vi" -- Test123

 

LabVIEW does start and the VI does open, but no pop-up box. The command line argument arrays shows as empty.

 

What am I missing?

 

.

 

0 Kudos
Message 1 of 2
(2,270 Views)
Solution
Accepted by topic author psuedonym

Answering my own question.

I did not realize that I had to set the property of Test.vi to Run When Opened.

Since I am using LabVIEW 2014 that option was available to me.

 

.

0 Kudos
Message 2 of 2
(2,238 Views)