03-28-2011 01:55 AM - edited 03-28-2011 01:57 AM
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,
Solved! Go to Solution.
03-29-2011
07:16 AM
- last edited on
09-02-2026
01:37 PM
by
Content Cleaner
Hi Roberto,
first of all, LabVIEW RunTime Engine (differently from CVI) is not backwards compatible (as explained here [link removed; article no longer available]), 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
03-29-2011 07:39 AM
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.