National Instruments PC-OPDIO-16 Manuale Utente

Pagina di 92
Installation and Configuration
Chapter 2
PC-OPDIO-16 User Manual
2-4
© National Instruments Corporation
LabVIEW users are encouraged to use the Easy I/O VIs in LabVIEW.  These VIs allow full
access to the PC-OPDIO-16 board functionality.  For specific information on the VIs and on how
to write LabVIEW data acquisition applications, refer to your LabVIEW for Windows Data
Acquisition VI Reference Manual
.  The PC-OPDIO-16 boards may not be specifically mentioned
in your version of the LabVIEW manuals.
The following LabVIEW VIs are supported for the PC-OPDIO-16.
Easy I/O VIs
Read from Digital Line
Read from Digital Port
Write to Digital Line
Write to Digital Port
Configuration VIs
Device Reset
Get Device Information
Set Device Information
Advanced Digital I/O VIs
DIO Port Read
DIO Port Write
DIO Single Read/Write
Follow instructions in the Software Configuration section later in this chapter to configure your
PC-OPDIO-16.
NI-DAQ Installation for LabWindows/CVI
To install NI-DAQ for LabWindows/CVI, run the 
SETUPWIN
 program on Disk 1.  One way to
do this is to select the File menu from the Program Manager Window, then select Run... and
type in 
a:\setupwin
, assuming a: is the floppy disk drive containing Disk 1.  When
prompted, select the Install NI-DAQ for LabWindows/CVI option.
The NI-DAQ example programs for LabWindows/CVI are installed in the 
CVI\SAMPLES\DAQ
directory.
For LabWindows/CVI, the defined constants that several NI-DAQ functions use are in the
include file 
DATAACQ.H
.
After installing NI-DAQ, continue by reading the Software Configuration section later in this
chapter to configure your PC-OPDIO-16.