Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone know the complete list of gpib-32.dll exports?

Upon doing a 'dump' of gpib-32.dll I found the following exports that I cannot find the function parameters for:
CopyrightString
RegisterGpibGloblsForThread
SetGpibStatusVariablesForThread
ThreadIbcnt
ThreadIbcntl
ThreadIberr
ThreadIbsta
UnregisterGpibGlobalsForThread
ibevent
ibeventx
iblock
iblockxA
iblockxW
ibrdkey
ibunlock
ibunlockx
ibwrtkey

If anyone has info about any of these functions, please reply. Thank you.
0 Kudos
Message 1 of 4
(3,841 Views)
Hi,

Many of those functions are not useful to you because they are used internally by the driver. A few of the functions can be found here: http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/fd37c544505542f88625680400569e20?OpenDocument and here http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/78b4fe652de1f9c18625682d006ceaa7?OpenDocument.


Hope theis helps.

Best Regards,
Aaron K.
Application Engineer
National Instroments
0 Kudos
Message 2 of 4
(3,841 Views)
Ok - What I am trying to do is mask the gpib-32 driver with my own, and then pass the GPIB calls onto the 'real' NI gpib-32.dll
I have an old piece of software that calls the NI driver and passes a string that is instrument specific onto it. However, I have upgraded the instrument and now need to modify that string. I do not have access to change the dll that the old software calls, so I must intercept the call by creating a 'mock' driver that's sole purpose is to pass all commands onto the NI gpib driver (and for ibwrts, modify the string and then pass it onto the driver). I have been successful under the 16 bit platform. however, for 32 bit using the NI interactive program for debugging, I successfuly get a handle from my dll to the ni gpib dll a
nd get all the function handles. However, as soon as my dll returns control to the NI interactive window, I get a "Memory referenced at 0x0ef54.... failed to read location 0x0000000" type of error. That is why I was wondering if those other functions are manipulated by the NI interactive program. Thanks for any help.
0 Kudos
Message 3 of 4
(3,841 Views)
Hi,

I have the same problem: Old test software & new instruments. I tried API Hooking but I was not able to make it work. Did you solve your problem ? If yes please let me know.

Dominique
0 Kudos
Message 4 of 4
(3,841 Views)