Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

visual basic error 48

Hi,
 
I got : "run-time error 48, file not found: Gpib-32.dll" when I use
I currently installed a GPIB-AT card on my old PC. The operation
I got this error when using Visual Basic-6.0 on GPIB-AT card (Run Time Error 48 in visual basic "File not found: Gpib-32.dll"). I am using Winows ME.
 
I got this error when using Visual Basic-6.0 on GPIB-AT card:
  (Run Time Error 48 in visual basic "File not found: Gpib-32.dll"). I am using Winows ME.
0 Kudos
Message 1 of 6
(3,617 Views)
Hi you lack probably the Gpib-32.dll in the c:\Windows or
c:\Windows\System32 directory because:

- you did not install the NI-488.2 software ( probably )
- you installed another board that has a homonymous Gpib-32.dll with
other functions than NI (maybe)

To test it, you can install NI-488.2 and test the communication
afterwards.

Regards,

f.grasdepot@labtab.com

0 Kudos
Message 2 of 6
(3,613 Views)

Hi,

Thanks for your reply.

I did install the NI-488.2 before and already I have the GPIB-32.dll (and GPIB-16.dll & GPIB.dll) in c:\windows\system.

The "NI-488.2 GPIB software" works OK (however I didn't connects the GPIB card to any actual external GPIB device yet, but the: "Software/Hardware Diagnostic Test" and "Win32s Interactive Control" work OK).

HNas

 

 

0 Kudos
Message 3 of 6
(3,601 Views)
Hi,

as far as I remember, there are dip switches on the GPIB-AT board for
selecting the IRQ,DMA and I/O address.

You should be ready to reboot several times to test several
configurations with dip combinations.
The simplest is to have a software for direct discussion with an
instrument connected to your board.
You can use an NI software like LabView or a simpler NI tool, for me I
use LabTab (www.labtab.com) which is free and has a toolbar for
directly sending "*idn?" or other strings to the GPIB bus.
You must be ready to reboot several times so the time to send "*idn?"
is of some importance and a simple tool is better.

The good news is that once this has worked, you will never do that
again and will not have to buy a GPIB controller ...

N.B. for instance, a voltmeter like AG34401A is perfect for such tests
....

With some luck, there will not be many reboots before finding a good
configuration especially if you remove any other PCI and ISA bords from
the PC , sound boards , etc ... ;=)))

Regards,

F.grasdepot

0 Kudos
Message 4 of 6
(3,575 Views)

Hi,

Thanks a lot for your help.

I have changed the GPIB dll files (gpib-32.dll  &  gpib-16.dll) in the "c:\windows\system\" and fortunately my VB application now works OK. The previous version of dll files were installed by NI-488.2 with the following detalis  

  • gpib-32.dll    size=100KB, Date:4/5/1994
  • gpib-16.dll

 with the  

0 Kudos
Message 5 of 6
(3,570 Views)

Hi,

Thanks a lot for your help.

I have changed the GPIB dll files (gpib-32.dll  &  gpib-16.dll) in the "c:\windows\system\" and fortunately my VB application now works OK. The previous version of dll files which were installed by NI-488.2, have the following details:  

  • gpib-32.dll    size=100KB, Date:4/5/1994
  • gpib-16.dll    size=26.8KB, Date:4/4/1994

 The new dll files from COMPACT12 (from NI), have the following details: 

  • gpib-32.dll    size=25.5KB, Date:4/12/1996
  • gpib-16.dll    size=11.5KB, Date:8/9/1995

Thanks again,

HNas

0 Kudos
Message 6 of 6
(3,567 Views)