Choosing a Method to Access the NI-488.2 Driver

NI-488.2

Choosing a Method to Access the NI-488.2 Driver

Applications using the older GPIB32 API can access the NI-488.2 dynamic link library (DLL), gpib-32.dll, either by using an NI-488.2 application interface or by direct access.

Applications using the new NI4882 API can access the NI-488.2 dynamic link library (DLL), ni42882.dll, by using an NI-488.2 application interface only.

NI-488.2 Application Interfaces

You can use an application interface if your program is written in Microsoft Visual C/C++ (6.0 or later), Borland C/C++ (5.02 or later), Microsoft Visual Basic (6.0), or any .NET programming language. Otherwise, you must access gpib-32.dll directly.

For more information about application interfaces, refer to NI-488.2 Application Interface Files.

Direct Entry Access

You can access the DLL directly from any programming environment that allows you to request addresses of variables and calls that a DLL exports. gpib-32.dll exports pointers to each of the global variables and all the NI-488.2 calls.

For more information about direct entry access, refer to Directly Accessing the gpib-32.dll Exports.