LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

labview run time version

Solved!
Go to solution

My CVI application needs to have the LabVIEW run-time engine installed to run so I would like to programmatically check it is installed at program start.

 

Now, the question is not simply "how can I retrieve the LV runtime version?", as differently from CVI there may be more than one LVRTE in the system, so I must either check for all RTEs installed or at least discover the latest (and this makes another question come to my mind: may a module developed on a specific LV rersion can be run with a newer RTE? If so, why having more than one RTE installed?)

 

Thanks to anyone who can help me in this matter,



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 1 of 3
(3,333 Views)
Solution
Accepted by topic author RobertoBozzolo

Hi Roberto,

first of all, LabVIEW RunTime Engine (differently from CVI) is not backwards compatible (as explained here), thus an application requires a RTE version exactly matching the LV development environment one, in order to run properly.

If you need to programmatically check which LV RTE versions are installed on the PC, you could list the folders contained in C:\Program Files\National Instruments\Shared\LabVIEW Run-Time, as a folder for each version exists.

Otherwise, you could access the registry keys from your application checking in HKEY_LOCAL_MACHINE>>SOFTWARE>>National Instruments>>LabVIEW Run-Time for the installed versions.

I hope this suggestions could help!

Bye!

 

Licia



0 Kudos
Message 2 of 3
(3,318 Views)

Thanks, I was hoping that such a deal isn't necessary...

 

In any case, I suppose digging the registry is the better way, as a user could change the default pathname for installation of NI software.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 3
(3,315 Views)