Chapter 4
Begin to Use the GPIB Software
PXI-GPIB/PMC-GPIB for Windows NT
4-4
©
National Instruments Corporation
where
path
is the directory in which you installed the GPIB software.
To load
gpib-nt.com
, locate these lines in your
config.nt
file and
delete
REM
from the third line, as follows:
REM *** To run DOS GPIB applications, uncomment the
REM *** following line
device=
path\doswin16\gpib-nt.com
where
path
is the directory in which you installed the GPIB software.
General Programming Considerations
As you begin developing your Win32 GPIB application, remember the
following points:
•
For your C/C++ application, you must include the NI-488.2M header
file,
decl-32.h
, in your source code.
•
You can access the GPIB software through the 32-bit DLL,
gpib-32.dll
, either by linking with one of the language interfaces
provided with the GPIB software, or by using direct DLL entry from
other programming environments.
•
Several sample GPIB applications are included with the GPIB
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 GPIB User Manual for
Windows 95 and Windows NT. For detailed information about each NI-488
function and NI-488.2 routine, refer to the NI-488.2M Function Reference
Manual for Win32 or the online help.