Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

why is the NationalInstruments.NI4882.dll a different version from NationalInstruments.Common.*.dll?

Hi Folks,

 

I'm trying to distribute a gpib tool I wrote, and I require the NI4882.dll, Common.dll, and Native.dll. The thing is, the versions are a bit messed up.

 

NationalInstruments.Common is 8.6.35.131

NationalInstruments.Common.Native is 8.6.35.131 

NationalInstruments.NI4882 is 8.5.35.308

 

I'm including the 2008 merge modules in my wix installer. it claims to work correctly. but attempting to run my tool yields an error to the tune of "missing Common.Native.dll version 8.5.35.149", which doesnt even exist on my dev box, leading me to wonder why this is even working here.

 

At kneejerk, I'm guessing that NI4882.dll is asking for the 8.5.35.149 version of native.dll, but getting 8.6.35.131 instead. on my machine this is somehow forgiven, but on the target machine it is not.

 

thoughts, comments, appreciated. 

0 Kudos
Message 1 of 4
(4,599 Views)

Orenmazor,

 

After reading your post, i checked and my version of the NI4882 in my examplse was also 8.5.35.308, though all of my other versions were 8.6, to see if the version changed at all, i downloaded the most recent 488.2 driver and installed it making sure to include support for Measurement Studio. After the re-install and the restart, i opened up an example in the example folder, and this time I was linked to the NI4882 dll with the same version number as everything else. So try updating your GPIB driver and re-linking to the new DLL in your project, and see if that helps. Let me know either way

0 Kudos
Message 2 of 4
(4,568 Views)
I actually ended up getting the latest 4882 driver (2.7) and installing it on both my workstation and the target machines. everything seems to be working fine now 🙂
0 Kudos
Message 3 of 4
(4,566 Views)

The Gpib and Common assemblies are not always rev'd at the same time. Common tends to rev a little more often since its used by multiple products underneath. So the versions won't always be the same. Plus, you could be installing some device driver that includes a later version of Common.

 

Just a side note.

 

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 4 of 4
(4,560 Views)