LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Correct LabVIEW version from command line

I'm trying to call LabVIEW from the command line however I'm running into issues with the wrong version of LabVIEW being used and general inconsistencies as shown by the following scenarios:

 

  1. calling ""C:\Program Files (x86)\National Instruments\LabVIEW 2018\LabVIEW.exe" "<path to some lvproj file>"" when LabVIEW isn't running (any version) results in LabVIEW 2018 32bit being called to load the supplied project
  2. calling  ""C:\Program Files (x86)\National Instruments\LabVIEW 2018\LabVIEW.exe" "<path to some lvproj file>"" when LabVIEW 2018 64bit is running results in the supplied project being loaded in LabVIEW 2018 64bit
  3. calling ""C:\Program Files (x86)\National Instruments\LabVIEW 2018\LabVIEW.exe" "<path to some lvproj file>"" when both 64 and 32 bit LabVIEW 2018 are running results in whichever was loaded last loading the project.

is there any way to ensure that the version of LabVIEW that I specify via the command line is the version that actually opens my file?

0 Kudos
Message 1 of 2
(1,039 Views)

@IFW wrote:

 

is there any way to ensure that the version of LabVIEW that I specify via the command line is the version that actually opens my file?


Not through the command line of the LabVIEW executable. You need to instead use the LabVIEW CLI tools instead. https://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/cli_running_operations/

 

The download for this is here: https://www.ni.com/download/labview-command-line-interface-1.1/8090/en/

 

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(1,007 Views)