LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I tell what the cvi RTE version is

Does anybody know how you can progamtically know what version of the CVI RTE is loaded?

I looked in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\CVI Run-Time Engine and there seems to be no mention of the version. I also checked in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3EE926F5-7B5C-45E0-966B-3F21E680BEEE}

but the the version is set to 1.0 eventhough I installed 6.0.
0 Kudos
Message 1 of 5
(3,423 Views)
Hi,

You can use the GetCVIVersion() to read the version information from the CVI RTE. Since the RTE is backwards compatible you should be able to tell whether the user has the an acceptable version of the CVI RTE.

Good luck with your project.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 5
(3,423 Views)
Alas , this is no good for me, I am making an installer and trying to manually install the CVI RTE using msiexec. I can then force the RTE to uninstall using the uninstall string from the registry, but I need a way to determine whether the currently installed RTE is greater, less than or equal to the one that I want to install, without using the RTE.
0 Kudos
Message 3 of 5
(3,423 Views)
Sorry to answer my own question but incase others need a answer and to save everyone elses time here is how I resolved it. The version of cvirte.dll is set to the correct version.
0 Kudos
Message 4 of 5
(3,423 Views)
I do have same needs and I don't know how to solve it...
GetCVIVersion () function return non-understandable value as if CVI version and CVI RTE version were mixed:
no CVI and RTE 5.5 returns 551
CVI 5.5 and RTE 5.5 returns 551
CVI 5.5 and RTE 7.0 returns 551 <= ???
CVI 7.0 and RTE 7.0 returns 700

So the question is: what is supposed to be returned by GetCVIVersion()? (the help mentions about "CVI libraries"
In case of a bug, how to cheks the real RTE version ?
0 Kudos
Message 5 of 5
(3,423 Views)