LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check run-time engine version?

Dear NI,
I would like to ask how do we get to know our machine run-time engine version. I want to install a newer version of run-time engine so I will need to know how to check the version so that I can double confirm it has been installed inside my machine.

Thanks.
0 Kudos
Message 1 of 10
(7,122 Views)

If you have NI MAX (National Instruments Measurement and Automation Explorer) installed, in the Configuration window, goto Software >> CVI Run-Time.
You can download the latest here.

Message 2 of 10
(7,107 Views)
Hello,

This should not be necessary. You should always install the CVI RTE when you install your application. It is designed in the Distribution Kit and provided Merge Modules to overwrite older versions and never overwrite newer versions. This will always provide you with the best solution for installing your application.

This of course is if you are installing the Runtime Engine in the system folder. You can chose to install the Runtime Engine next to your application, this will allow that specific application to use that specific runtime engine. It is not however considered "installed" on your system so MAX and other CVI applications will not find that runtime engine.

Jeff
0 Kudos
Message 3 of 10
(7,100 Views)
Dear all,
Thanks for your reply. Perhaps I should tell you what is my CVI version and my OS first. I am currently using LabWindows/CVI 5.0 in MS Windows XP.

Dear AI S,
I installed the thing that you asked me to download but I still cannot "NI MAX (National Instruments Measurement and Automation Explorer)". Where is it located? Where should I go first before going to Software >> CVI Run-Time?

Dear jlaney,
Thanks for your explanation but I think you still haven tell me where to check my run-time engine version yet.
0 Kudos
Message 4 of 10
(7,082 Views)
Hi Jason,

In your applications directory you should find .dll files like cvirte.dll. You can right click and hit the properties for this file and check the version information. This should tell you the version of the current cvi run time engine you are using.
When you make the distribution kit, CVI installs the RTE in the systems folder. So, when you install your application on a system, you can access the cvirte.dll file in the C:/windows/system32 and check for the version.
The other option you have is to include the RTE in applications directory from the Distribution kit itself. In that case, after the application install, you can access the RTE file in the applications directory and check for the version.

I hope that helps.

Dwivedi
Message 5 of 10
(7,082 Views)
Hi,

And, within a program, you can call GetCVIVersion() to do a check during runtime.
-----------------------
/* Nothing past this point should fail if the code is working as intended */
Message 6 of 10
(7,073 Views)
Interesting! I always thought GetCVIVersion() returned the version of the compiler/development environment, but apparently not. I'm still running CVI 6.0 but I earlier installed the 7.1 Evaluation copy. GetCVIVersion() now returns 710.
As a side note, I'm less than pleased with the changes the Evaluation copy made to my system, even after I uninstalled it.
Message 7 of 10
(7,068 Views)
Sure, but there are other reasons for needing to check the run-time version. Let's say you have your application running at 10 different customer sites. All of a sudden, one stops working. Maybe somebody installed another program which changed the run-time module. (With all due respect to NI's regression testing).
Message 8 of 10
(7,067 Views)
Dear all,
From the answer given by you all, I got what I wanted. Thanks a lot for helping.
0 Kudos
Message 9 of 10
(7,045 Views)
Dear Al S,

You can use the macro _CVI_ to get the version of CVI that the application was built with. It gives you an integer value in the same format as GetCVIVersion().
0 Kudos
Message 10 of 10
(7,021 Views)