From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB with C# - 64\32 bit OS issues

We use some NI devices and we build a .NET application (C#) that needs to communicate with the devices through GPIB.

The application have two versions one for windows 32 bit (XP) and one for 64 bit (Win7) (The 64 bit application cannot be compiled as x86 because of other reasons).

As I have seen in NI examples we need to use NationalInstruments.Common.dll and NationalInstruments.NI4882.dll in order to communicate with the devices.

I have some questions about using it.

  1. Are there NationalInstruments.Common.dll and NationalInstruments.NI4882.dll for 32 and 64 bits or they have compiled as AnyCpu?
  2. Which drivers should be installed in order to use the above dlls? There are versions for 32 bit and for 64 bit OS?
  3. If on one computer (64 bit) one of those drivers already installed in a 32 bit version (because other 32 bit applications need it) is it disturb?

Thanks

0 Kudos
Message 1 of 2
(2,619 Views)

Ohadr, 

 

1. The DLLs work for both 32 and 64 bits operating systems, since the driver works for both. 

2. The driver you should install is the NI-488.2 18.5.0 driver (http://www.ni.com/download/ni-488.2-18.5/7816/en/) for your Windows 7 computer, but for your Windows XP you would need to call in to NI support to get access to the older version of the driver that works for that operating system. 

3. No, this should not cause any disruptions. 

 

http://www.ni.com/en-us/support.html this is the link on how to get in contact with NI support. 

 

Hope this helps! 

0 Kudos
Message 2 of 2
(2,583 Views)