Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Could not load file 8.1.20.119

Solved!
Go to solution

I have a vb.net program that controls lab equipment using a GPIB-USB-HS interface that works fine on my desktop PC where I wrote it but not on any of my laptops. I keep getting this error. I tried putting the correct DLL where my program was looking for it but it still doesn't work.

0 Kudos
Message 1 of 7
(4,668 Views)

Hi there,

 

Could you please tell us what assemblies (name of the assembiles) that the applications is trying load but not able to find it?

 

Regards,

Vijet Patankar,

National Instruments

0 Kudos
Message 2 of 7
(4,665 Views)

I beleive it's NI4882. BTW, I'm using vb.net express 2010. The path set by mreferences in VB is C:\Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.NI4882.dll. This path exists on the laptop also but the file has the wrong numbers. 8.9.20.302

0 Kudos
Message 3 of 7
(4,654 Views)

Hi DickHutchings,

 

Did you build this as a distribution, or are you trying to just run the code in VB.NET Express 2010 on your laptops?  Also, what operating systems do you have on your desktop and your laptops?  Do you have the same versions of the 488.2 driver on all machines?  In looking at the path you have listed, it looks like it is referencing an assembly stored in the directories for Visual Studio 2005 and not VB.NET Express 2010.  Are you attempting to run the software in Visual Studio 2005 on your laptops?  Any other clarification you could provide about your separate computers' setups would be helpful.  Thanks!  Have a great day!

Taylor G.
Product Support Engineer
National Instruments
www.ni.com/support
0 Kudos
Message 4 of 7
(4,618 Views)

@Taylor G wrote:

Hi DickHutchings,

 

Did you build this as a distribution, or are you trying to just run the code in VB.NET Express 2010 on your laptops? Just trying to run it my laptops.

 

 Also, what operating systems do you have on your desktop and your laptops? XP on all with framework4 installed on all of them.

 

  Do you have the same versions of the 488.2 driver on all machines? No, and I don't know how to fix that.

 

  In looking at the path you have listed, it looks like it is referencing an assembly stored in the directories for Visual Studio 2005 and not VB.NET Express 2010.  Are you attempting to run the software in Visual Studio 2005 on your laptops?  No, I'm just running the executable I wrote in 2010. I don't know how or where to find a reference for 2010. I'm very confused.

 

 Any other clarification you could provide about your separate computers' setups would be helpful.  Thanks!  Have a great day!

 


The only thing I am sure of that the program is looking for driver version 8.1.20.19 and it can't find it where it's looking even if I manually put it there. I sure hope this helps and thank very much for taking the time to respond.

0 Kudos
Message 5 of 7
(4,616 Views)
Solution
Accepted by topic author DickHutchings

**bleep**,

 

I dont believe its actually referencing the 488.2 driver, considering the latest version is 2.9.

 

I think its actually talking about some measurement studio DLLs its having issues with. 

 

Have you built an installer for this code? This may help to make sure all the proper versions of the dlls are included. Instructions can be found here:

http://digital.ni.com/public.nsf/allkb/ED87C183E056CAC386256DF1004E54C6

 

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
Message 6 of 7
(4,608 Views)

Thank you very much. Deploying with a setup.exe was all I needed to do although I couldn't follow the instrucions because I have vb express.

0 Kudos
Message 7 of 7
(4,600 Views)