LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing installer component NI-VISA Runtime

Solved!
Go to solution

Thr Build Log of another project:

 

 
**************
*** Error: Internal error. (Error code -40)
**************
*** Error Details:
Error in MDF API function: _MDFDistBuildList_Close
Error in MDF::DistributionBuildList::AddDependentProducts.
Invalid index 1 passed to flavor list (list size is 1)
*** End Error Report
**************
 

0 Kudos
Message 11 of 15
(1,938 Views)

The debug build log should be in your temp directory. If you enter 'echo %temp%' at a Windows command prompt, it should tell you the exact path. On Vista/Win7, this is typically 'C:\Users\<username>\AppData\Local\Temp'.

0 Kudos
Message 12 of 15
(1,932 Views)

I have attached the log file.

0 Kudos
Message 13 of 15
(1,923 Views)
Solution
Accepted by K.Werner

From the log, I think I have pieced together the problem. It looks like the following has happened:

 

  1. You installed the distribution, "Thorlabs CS2010 - UV Curing System Driver - VISA Instrument Driver" on your system from the path C:\SVN\MUN1140_CS2010\driver\09196\output\Volume\.
  2. You set the source distribution (in the Drivers & Components tab) for VISA 5.0.3 Runtime (or possibly another component) to the Thorlabs CS2010 distribution.
  3. You deleted or moved the Thorlabs CS2010 distribution from C:\SVN\MUN1140_CS2010\driver\09196\output\Volume\.

 

Unfortunately, doing the above three steps would result in VISA 5.0.3 Runtime (and any other components included in the Thorlabs CS2010) to appear to be missing. It does not attempt to fall back on a different source distribution. The solution is to remove the file that stores the association established by step 2 above:

 

  1. Locate, backup, then remove the following file: <program data>\National Instruments\MDF\Bin\MDFInfo.xml. (<program data> path can be determined by executing 'echo %programdata%' at a command prompt).
  2. Restart CVI.

This may immediately solve your problem. If you still have difficulties, let me know what they are, and I will try to help. (You may as well attach a debug log in that case, as I might otherwise have to request it.)

 

Mert A.

National Instruments

Message 14 of 15
(1,849 Views)

Thank you very much. Deleting the file solved my problem.

0 Kudos
Message 15 of 15
(1,842 Views)