Missing IVI.NET Shared Components From NI-DMM or NI-SWITCH .NET Class Libraries Installation

Updated Nov 17, 2017

Reported In

Hardware

  • PXI-2571

Driver

  • NI-DMM
  • NI-SWITCH
  • NI-SWITCH .NET Class Libraries 1.1

Other

Microsoft Visual Studio

Issue Details

I downloaded and installed a .NET Class Library for NI hardware (such as NI-DMM or NI-SWITCH). However, when I try to run the included examples I get an error message that Ivi.Dmm.dll, Ivi.Switch.dll, or Ivi.Driver.dll are missing. How can I resolve this problem?

Solution

1. The IVI Shared Components require .NET Framework version 2.0 or greater.

Check using: How to: Determine which .NET Framework versions are installed | Microsoft Docs

2. Install the most recent IVI .NET Shared Components directly from the IVI Foundation Website. This will be a two-part install: A) IVI Shared Components B) IVI .NET Shared Components.

3. Repair NI-DMM or NI-SWITCH driver.

Additional Information

This problem is related to the IVI Shared Components installer that is included in the NI-DMM and NI-SWITCH .NET Class Libraries installers. The IVI Shared Components installer checks for registry flags that are set when .NET Framework 2.0 is installed. Windows 7 and later include the .NET 2.0 CLR as an operating system component, but the registry flags are not set. This causes the IVI Shared Components installer to fail.

WAS THIS ARTICLE HELPFUL?

Not Helpful