Missing .NET Support for Modular Instrument and RF Drivers

Updated Apr 4, 2018

Reported In

Software

  • Measurement Studio

Driver

  • NI-DCPower
  • NI-DMM
  • NI-FGEN
  • NI-HSDIO
  • NI-RFSA
  • NI-RFSG
  • NI-SCOPE
  • NI-SWITCH

Other

Microsoft Visual Studio

Issue Details

After installing one of the National Instruments Modular Instruments or RF drivers, no .NET support items showed in the references, and the .NET help and samples are nowhere to be found.

Solution

Not all National Instruments hardware drivers include the .NET support in the installer. Modular Instruments and RF drivers require a separate installation of the .NET resources. Please refer to National Instruments .NET Support for more information about what drivers require a separate installation of the .NET resources.

If the driver you are interested on is not listed as Included in driver installer:
  1. Click on the corresponding resources link (i.e. NI-DMM .NET Resources).
  2. Click on the NI Native .NET API Download link that corresponds to your driver version (i.e. NI-DMM .NET Class LIbraries 15.2) to get to the download page.
  3. Download and execute the  .NET Class Library installer (i.e. NIDMMDotNET1520.exe).
  4. Follow the installer instructions.

Additional Information

  • The examples in the solution steps are based in the NI-DMM .NET Class Libraries 15.2, but the process should be the same for other drivers' .NET Class Libraries and versions.
  • The .NET resources version does not necessarily need to match its driver version. Please refer to the readme of the specific .NET resources installer for driver compatibility details. For example, the latest version of the NI-DMM .NET Resources is 15.2 and its readme specifies it can be used with NI-DMM 15.2 or later.
  • If you cannot find the IVI shared components of your driver after installing the corresponding .NET resources, refer to Missing IVI.NET Shared Components From NI-DMM or NI-SWITCH .NET Class Libraries Installation.
  • There is no NI Native .NET API for NI-HSDIO, but there are Code Wrapper APIs you can use in C# and Visual Basic.

WAS THIS ARTICLE HELPFUL?

Not Helpful