Chapter 4
Install the NI-488.2 Software for Windows
© National Instruments Corp.
4-3
GPIB-232CT-A for MS-DOS/Windows
•
WINSAMP.EXE
is a compiled Windows application program for
Windows that communicates over the GPIB. It is based primarily on
the
GENERIC
Windows application example provided with the
Windows Software Development Kit.
•
MAKEFILE
is the makefile used to compile and link the sample
Windows application.
•
WINSAMP.C
is the C language source file containing the Windows
functions
WinMain
,
MainWndProc
,
About
,
InitApplication
,
and
InitInstance
.
•
GPIBSAMP.C
is the C language source file containing NI-488 function
calls to the DLL.
•
WINSAMP.H
is the header file containing definitions and declarations
required by
WINSAMP.C
.
•
WINSAMP.RC
is the resource script file that defines the menus and the
dialog-box template for the
About
dialog box.
•
WINSAMP.DEF
is the module definition file that contains module
definitions.
Step 1. Run INSTALL
You can install the NI-488.2 software for Windows using one of two
methods: quick installation or interactive installation.
Quick Installation
This quick version of the
INSTALL
program assumes that Windows is
installed in the default directory (
C:\WINDOWS
).
INSTALL
copies files to
C:\WINDOWS
and the GPIB destination directory, named
C:\GPIB-CTW
.
Note:
If Windows is not in its default directory or you do not want the
default destination directory to be created, you must install the
NI-488.2 software for Windows interactively. Refer to the
following section, Interactive Installation .