LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Version of Built Executables?

Solved!
Go to solution

Is there any way to query a LabVIEW executable to determine what version of LabVIEW it was coded in?  I need to tell my production department what Run-Time Engine to install to use some old LabVIEW EXEs.

 

Thanks!

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 1 of 10
(3,568 Views)

@NIquist wrote:

Is there any way to query a LabVIEW executable to determine what version of LabVIEW it was coded in?  I need to tell my production department what Run-Time Engine to install to use some old LabVIEW EXEs.

 

Thanks!


I was under the impression that the latest available run time engine is backwards compatible? So the latest version will run all applications built using the current and previous versions of labVIEW..

 

I could be wrong

0 Kudos
Message 2 of 10
(3,561 Views)

@Strokes wrote:

I was under the impression that the latest available run time engine is backwards compatible? So the latest version will run all applications built using the current and previous versions of labVIEW..

 

I could be wrong


Sorry, but yes, in this case you are wrong.  There is no compatibility between LabVIEW run-time engine versions.

EDIT: this was just discussed http://forums.ni.com/t5/LabVIEW/Backwards-compatibility-of-the-run-time-environment-RTE/m-p/2160426

Message 3 of 10
(3,559 Views)
Solution
Accepted by NIquist

@NIquist wrote:

Is there any way to query a LabVIEW executable to determine what version of LabVIEW it was coded in?  I need to tell my production department what Run-Time Engine to install to use some old LabVIEW EXEs.


You can simply run the applicaiton on a computer that doesn't have any LabVIEW software installed. You'll get a dialog box that tells you which version you need.

Message 4 of 10
(3,544 Views)

@smercurio_fc wrote:

@NIquist wrote:

Is there any way to query a LabVIEW executable to determine what version of LabVIEW it was coded in?  I need to tell my production department what Run-Time Engine to install to use some old LabVIEW EXEs.


You can simply run the applicaiton on a computer that doesn't have any LabVIEW software installed. You'll get a dialog box that tells you which version you need.


True, but in this case my IT guys requested a method that would let them determine which RTE to pair with each EXE easily.  I thought there might be a file property of the EXE that they could query.  I think I'll just have to update all the code to a common version to avoid confusion.  Thanks for the replies!

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 5 of 10
(3,530 Views)

Ah. Well, I can't say this will work for all versions (I know it's true for 8.2), but you can open the built executable (say in a hex editor, or just Notepad++) and search for the string "SOFTWARE\National Instruments\LabVIEW Run-Time". Right after that should be the version number of LabVIEW used to create the executable.

Message 6 of 10
(3,514 Views)

Good advice smercurio, it still works for executables created with LabVIEW 10.

 

Look for something as follows:   'LabVIEW Run-Time..LVRT....10.0'

 

Thanks,

PH

0 Kudos
Message 7 of 10
(3,493 Views)

@Teds wrote:

Good advice smercurio, it still works for executables created with LabVIEW 10.

 

Look for something as follows:   'LabVIEW Run-Time..LVRT....10.0'

 

Thanks,

PH


Are those periods supposed to be spaces?  They are spaces for 2011.

 

EDIT:  Now that I performed a read in LabVIEW, I see that they are actually NULLs.

 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 8 of 10
(3,485 Views)

Based on this new information, here's a quick VI I made to get the version for you.

 

Saved in LV8.0


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 9 of 10
(3,477 Views)

Nice!  There are differences in some of the versions that I checked but if I keep my search string simple (e.g. "SOFTWARE") I can find info on the version number.  My task involved mostly version 8.X varieties and it works great for that.

 

Thanks for the good advice!

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 10 of 10
(3,448 Views)