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 http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/launchingvifromcommandline/

 

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
(1,721 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
(1,689 Views)