KPCI-488LPA-900-01 Rev. A / December 2008
2-3
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
Introduction
This section contains information about the National Instruments™ (NI)
1
command compatible
functions and provides information on using the functions, as well as a reference section containing
syntax examples (C/C++, Visual Basic, etc.).
and
NI command compatible function error codes
NOTE
Refer to
for
Keithley Command Compatible Functions
If you have any questions after reviewing this information, please contact your local Keithley
Instruments representative or call one of our Applications Engineers at 1-800-KEITHLEY (US only) or
visit our website at www.keithley.com.
Using NI Command Compatible functions
This section provides the fundamentals of building Windows
®
XP/2000/Vista applications using NI
command compatible functions and either Microsoft
®
Visual Basic or Microsoft Visual C/C++.
Microsoft Visual Basic (Version 6.0)
To create an application with NI command compatible functions and Visual Basic, follow these steps:
Step 1: Enter Visual Basic and open or create a project in which to use the NI command
compatible functions
To create a new project, select
New Project
from the
File
menu.
To use an existing project:
1. Open the file by selecting
Open Project
from the
File
menu. The
Open Project
dialog box
appears (
Figure 2-1
Open Project dialog box
2. Load the project by finding and double-clicking the project file name in the applicable directory.
1. National Instruments
™
and NI are trademarks of the National Instruments Corporation.