Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI4882 add reference

Hello,

 

I need to program GPIB from MS Windows XP. NI provides a NI4882 interface to program it.

 

To use NI4882 functions, we need to add reference for the required Dlls in the .NET project.

 

I am not able to find the reference "NationalInstruments.NI4882" in the reference list of .NET project.

 

How I can get the following references in the reference list?

· NationalInstruments.Common

· NationalInstruments.NI4882

 

I have installed LabView 8.5 on my machine only. Do I need to install any other components as well?

0 Kudos
Message 1 of 3
(3,777 Views)

I had the same problem and found the dll on my computer C:\Program Files (x86)\National Instruments\MeasurementStudioVS2008\DotNET\Assemblies\Current\NationalInstruments.NI4882.dll.

 

After referencing that dll everything seemed to work fine.  I could see the methods and properties, etc.  But it would not compile.  After compilation, it lost all knowledge of the properties and methods.

 

Can anyone else help?

0 Kudos
Message 2 of 3
(3,232 Views)

By the way.  I was using C#.

0 Kudos
Message 3 of 3
(3,231 Views)