Chapter 4
Begin to Use the GPIB Software
Introduction to the GPIB Spy Utility
General Programming Considerations
GPIB-ENET for Windows NT
Included with the NI-488.2M software is GPIB Spy, a Win32 utility that
can be used to monitor NI-488.2M calls made by Win32, Win16, and DOS
GPIB applications. You can use GPIB Spy to do the following:
•
Capture information about NI-488 functions and NI-488.2M routines
as they are invoked by your GPIB applications.
•
Display captured information, including, but not limited to, input and
output parameter values, I/O buffer contents, and return values.
•
Save, restore, and print captured information.
Follow these instructions to run GPIB Spy:
Windows NT 3.51:
Double-click on the GPIB Spy icon in the NI-488.2M Software for
Windows NT group of the Program Manager.
Windows NT 4.0 or higher:
Select the GPIB Spy item under Start»Programs»NI-488.2M
Software for Windows NT.
For more information about the GPIB Spy utility, refer to Chapter 5, GPIB
Spy Utility, in the NI-488.2M User Manual for Windows 95 and
Windows NT, or use the GPIB Spy context-sensitive online help.
As you begin developing your Win32 NI-488.2M application, remember
the following points:
•
For your C/C++ application, you must include the NI-488.2M header
file in your source code.
•
The NI-488.2M software is accessed through the 32-bit DLL,
, either by linking with one of the language interfaces
gpib-32.dll
provided with the NI-488.2M software, or by using direct DLL entry
from other programming environments.
•
Several sample GPIB applications are included with the NI-488.2M
software. Use these as a guide for your own application development.
For information about choosing a programming method, developing your
application, or compiling and linking, refer to the NI-488.2M User Manual
4-2
© National Instruments Corporation