LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing installer component NI-VISA Runtime

Solved!
Go to solution

We use the LabWindows/CVI 2010 Version 10.0.0 (360) and have installed the new runtime from the installer package 5.0.3.31.

With different projects on different computers we have the same problem: The NI-VISA runtime can not be included in the installation package. With older projects which have been already distributed we get the error message when opening the tab "Drivers & Components" and click on the red entry for the visa runtime: "This component is not installed on this system, and cannot be included in distributions built on this machine". Reinstallation of the NI-VISA runtime does not help. The installation is visible in the MDF File and the registry (distributions and products). With a new project the entry NI-VISA runtime does not appear on the "Drivers & Comnponents" tab.

 

What went wrong? We are not able to create any distribution at this moment.

0 Kudos
Message 1 of 15
(6,724 Views)

Hi!

Maybe the problem is that you only installed the NI-VISA run-time and not the full version of VISA.

Try downloading the full VISA-version from

http://joule.ni.com/nidu/cds/view/p/id/2257/lang/en

install it and then try creating the distribution with the VISA run-time again.

Greetings,

  Georg

0 Kudos
Message 2 of 15
(6,689 Views)

Hi,  i have again installed the VISA full 5.0.3.

The same problem.

0 Kudos
Message 3 of 15
(6,682 Views)

Hello,

I tried out your configuration today - first installed LabWindows CVI 2010 and then the NI-VISA 5.0.3.

The VISA-runtime is visible in the "Drivers and Components" Tab of the installer configuration.

I think the only option for you is to uninstall CVI and VISA completely. Then reinstall the software in this order:

1. LabWindows CVI

2. NI-VISA

 

Hope that helps

0 Kudos
Message 4 of 15
(6,671 Views)

I deinstalled all LabWindows/CVI with its components, VISA Runtime and VISA Server.

Then i installed LabWindows/CVI and the VISA Full.

Same Problem.

 

Where does the CVI installer take the information that a VISA Runtime is installed?

Is it a file or registry entry?

0 Kudos
Message 5 of 15
(6,662 Views)

In your first post you said VISA is visible in the registry. It should be this key:

HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\Common\Installer\Distributions\{8A0DEEA0-E443-4DD2-93D6-5E778F7B1C7E}_5.0.3.31_9,17

Please check in your registry if this key is there.

0 Kudos
Message 6 of 15
(6,657 Views)

Yes i have the key and the visa runtime install package with version 5.0.3.31 is present at the path C:\National Instruments Downloads\NI-VISA\5.0.3\. This is the path from where i have installed the visa.

 

I have the registry entries attached.

Download All
0 Kudos
Message 7 of 15
(6,647 Views)

Hi!

Did you try to locate your Drivers in an other location on your hard drive? I tested it on my System with CVI 2010 and VISA 5.0.3, OS is Win 7 32bit.

0 Kudos
Message 8 of 15
(6,623 Views)

The items shown in the Drivers & Components tab are enumerated from the contents of the <program files>\National Instruments\Shared\MDF\Manifests directory. If you have NI-VISA 5.0.3 installed, you should have a file in that directory named 'NI-VISA Runtime 5.0.3 {85BA3FCF-AA00-4151-B97D-84A221E8198A}.xml'. From your experience, I would guess that maybe this file is somehow missing. That would be especially strange, given that you have uninstalled and reinstalled, but it seems to be the most logical explanation. I am attaching a zipped copy of that file here as a replacement, in case you are missing it. If you already have the file, or replacing it does not solve your problem, it will be handy to look at the debug build log. You should attempt to build the distribution, then after it prompts you and you abort, look for the file <user temp dir>\distBuildDbg.log and post it in your reply.

 

Mert A.

National Instruments

0 Kudos
Message 9 of 15
(6,528 Views)

In this folder i have a file "NI-VISA Tuntime 5.0.3....xml". WinMerge says that the file is identical to yours attached to the last post.

 

DebugLog:

 

 
**************
*** Error: Improper function call or command line argument. (Error code -30)
Type 'Runtime' of product 'NI-VISA Runtime 5.0.3' is not found on the source distribution.  Insert the correct source distribution or select another product type.
**************
*** Error Details:
Error in MDF API function: _MDFDistBuildList_AddProduct
*** End Error Report
**************

 

I did not found the log file. Where is the log file located?

0 Kudos
Message 10 of 15
(6,513 Views)