Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

unable to load gpib-32.dll when running the visual basic 2008 program

I installed NI-488.2 into my PC, window 7 64 bit OS.

In the program >> project> add reference>.NET, I successfully add the NI.4882  into my visual basic  program.

By the way, this program worked well in another window 7 32 bit PC.

 

But when I run the program at ildev(BDINDEX,.........), error comes up as "unable load DLL gpib-32.dll".

So when I looked at c:\windows\system32, I can not fine gpib-32.dll.

 

Doesn't  NI-488.2 driver install gpib-32.dll?

 

How can I install gpib-32.dll?

0 Kudos
Message 1 of 4
(5,058 Views)

Nyc, thank you for your reply.

 

By the way, I think I did all the link explained.

So I have no problem in  adding  NI488.2 to my program's reference using "add reference".

 

The problem is GPIB statement like ildev() looks for "gpib-32.dll".

But there was no gpib-32.dll installed in "c:\windows\system32" so error comes up with "unable to load gpib-32.dll".

 

I did the same procedure in my another PC(window 7 32 bit OS,my current PC is window 7 64 bit OS), and in that PC I can see the gpib-32.dll in that directory and program run without problem.

 

I do not know how gpib-32.dll was installed in my previous PC.

 

Thanks

Seong

 

0 Kudos
Message 3 of 4
(5,034 Views)

@SeongCho wrote:

Nyc, thank you for your reply.

 

By the way, I think I did all the link explained.

So I have no problem in  adding  NI488.2 to my program's reference using "add reference".

 

The problem is GPIB statement like ildev() looks for "gpib-32.dll".

But there was no gpib-32.dll installed in "c:\windows\system32" so error comes up with "unable to load gpib-32.dll".

 

I did the same procedure in my another PC(window 7 32 bit OS,my current PC is window 7 64 bit OS), and in that PC I can see the gpib-32.dll in that directory and program run without problem.

 

I do not know how gpib-32.dll was installed in my previous PC.

 

Thanks

Seong

 


Have you looked at the example programs for .NET that install with NI-488.2?

You need to start thinking in terms of .NET 

0 Kudos
Message 4 of 4
(5,024 Views)