LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run executable program on labview

Hi Tom,

 

You will need to go into the LabVIEW folder, in my case is:

 

C:\Program Files (x86)\National Instruments\LabVIEW 2017

 

And the right-click on the .exe and select Run as Administrator.

 

Screenshot_4.png

You can also go into properties and enable the software to always with you as an administrator.

 

Screenshot_5.png

Randy @Rscd27@
0 Kudos
Message 11 of 13
(703 Views)

wrote:

Hi,

 

I try to run both with dir and without dir. it still did not execute


Well you don't want dir in there because all you are telling it to do is give you a directory listing of the files that match that pattern of your executable.

0 Kudos
Message 12 of 13
(694 Views)

Did you create a program in LV that you're now using from command line? Then I assume you have something similar to this in your code?
Command Line.png

To send args to LV you'll probably need '--' so your command should look like "MyApplication.exe -- 0"

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 13 of 13
(686 Views)