Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

The procedure entry point REGISTERGPIBGLOBALSFORTHREAD could not be located in the dynamic link library GPIB-32.dll

Hello I have a NI GPIB card (AT-GPIB/TNT (Plug and Play)) or 183663c01 it is an ISA version.  I am using the visual basic files Vbib-32 and Niglobal.  I am on Windows 2000 and have downloaded the latest drivers for it I am using a PowerBasic compiler and thus have ported these files to PowerBasic Windows 8.
I think that I have successfully done so, as the languages are very simliar, however, when I run my program I get the error below:

The procedure entry point REGISTERGPIBGLOBALSFORTHREAD could not be located in the dynamic link library GPIB-32.dll.

I read on here that this function allows Basic users to use the standard  global variables: ibsta, iberr, ibcnt. Does anyone have any idea why it cannot be found in GPIB-32.dll, Is there another file I need to include or something to that effect.  The function appears to be in working order in Vbib-32 so I am stumped... (This is my first time using GPIB stuff as well as converting a VB file to PB.. so it coulde be something minor.)
Thank you
Jon
0 Kudos
Message 1 of 2
(3,569 Views)
The solution is to use the ALIAS keyword in PowerBasic.  The problem is that PowerBasic is not case sensitive, and t is trying to use a function thats name is case specific.  The ALIAS tells the compiler to look for the case sensitive name in the quotes.
Thanks Jon
0 Kudos
Message 2 of 2
(3,522 Views)