ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect the LabVIEW Runtime Version in a LV executable?

The LabVIEW 6.0.0 runtime version will allow to run LabVIEW 6.0.2 executables, but errors do occur (e.g. setting tab sheets properties, and some database connectivity routines don't work as expected).
Is there any way to retrieve the LV runtime version by the program such that the program can be aborted when the wrong version is detected?
0 Kudos
Message 1 of 3
(3,023 Views)
I think if you drop a property node and select the Application>>Version Number property you should get the version of the run-time engine.

I only have the 6.0.2 run-time engine so I can't test it out. Give it a try.

I would imagine that your best bet is to just install the proper run-time engine.

Brian
0 Kudos
Message 2 of 3
(3,023 Views)
Thanks Brian, the 'version' property of the application indeed returns the version of the LV runtime driver whereas I expected that it would return the LabVIEW version that created the executable. Indeed, the proper runtime version needs to be installed, but if your exe runs on many different PC's, then a check for the version is preventing errors at execution time.

Regards, Peter
0 Kudos
Message 3 of 3
(3,023 Views)