Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 4 out of 5     Rate this Document

Run-Time Error 48 When Calling a GPIB Function in Visual Basic

Primary Software: Driver Software>>NI-488.2
Primary Software Version: 2.5
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-VISA
Hardware: GPIB>>External Controllers/Convertors>>GPIB-USB-A, Instrument Connectivity Other>>USB>>GPIB-USB-A

Problem:
I installed the GPIB-USB-A on my Windows 2000 PC. It installs, tests, and locates an instrument correctly. When I run a sample Visual Basic application, I get the following error message: Run time error '48': File not found Gpib-32.dll.

Solution:
The problem is caused when a third-party VISA driver replaces the NI-VISA driver. Remove the third-party VISA software (for example, VISA32.DLL) and reinstall NI-VISA and NI-488.2 (GPIB driver software), which are available for download from our Drivers and Updates software library (linked below).

Related Links:
Drivers and Updates
Hardware Installation/Configuration Wizard
KnowledgeBase 20HDE24U: Run-Time Error 48 When Calling an NI-DAQ Function in Visual Basic Results


Attachments:





Report Date: 04/08/2002
Last Updated: 04/29/2008
Document ID: 2K7DN3YY

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit