National Instruments PC-OPDIO-16 Manuale Utente
Chapter 5
Theory of Operation
© National Instruments Corporation
5-5
PC-OPDIO-16 User Manual
Using LabVIEW Data Acquisition Library for Digital I/O
LabVIEW users are encouraged to use the Easy I/O VIs in LabVIEW. They allow full access to
the PC-OPDIO-16 board functionality. For specific information on the VIs and how to write
LabVIEW data acquisition applications refer to your LabVIEW Data Acquisition VI Reference
Manual for Windows. The PC-OPDIO-16 board may not be specifically mentioned in your
version of the LabVIEW manuals.
the PC-OPDIO-16 board functionality. For specific information on the VIs and how to write
LabVIEW data acquisition applications refer to your LabVIEW Data Acquisition VI Reference
Manual for Windows. The PC-OPDIO-16 board may not be specifically mentioned in your
version of the LabVIEW manuals.
The easiest way to use digital input and output in LabVIEW is to call the Easy I/O VIs Read
from Digital Line, Read from Digital Port, Write to Digital Line, or Write to Digital Port.
from Digital Line, Read from Digital Port, Write to Digital Line, or Write to Digital Port.
Note that configuring a port will cause the output of the other port to change to zero. The Easy
I/O VIs will configure the port in some cases.
I/O VIs will configure the port in some cases.
You can also call the Advanced Digital I/O VIs DIO Port Read, DIO Port Write, and DIO Single
Read/Write to input and output digital data from the ports.
Read/Write to input and output digital data from the ports.
The following digital input and output LabVIEW VIs are supported for the PC-OPDIO-16 board.
Easy I/O VIs
•
Read from Digital Port
•
Read from Digital Line
•
Write to Digital Port
•
Write to Digital Line
Advanced VIs
•
DIO Single Read/Write
•
DIO Port Write
•
DIO Port Read