02-07-2018 06:38 PM - edited 02-07-2018 06:41 PM
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.
You can also go into properties and enable the software to always with you as an administrator.
02-07-2018 11:08 PM
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.
02-08-2018 03:07 AM
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?
To send args to LV you'll probably need '--' so your command should look like "MyApplication.exe -- 0"
/Y