Programming instructions

Chapter 16 When You Need It Now— Immediate Digital I/O
LabVIEW Data Acquisition Basics Manual 16-2
©
National Instruments Corporation
You can use the Easy Digital VIs for nonlatched digital I/O. Figure 16-1
shows the Easy VIs and their various inputs and outputs. The four Easy VIs
can read data from or write data to a single digital line or to an entire port
immediately. For an example of how to use the Easy Digital VIs, refer to
the Read 1 Point from Digital Line and Write 1 Point to Digital Line VIs in
labview\examples\daq\digital\digio.llb
. Use the Easy Digital
VIs for most digital testing purposes. All of the Easy Digital VIs have error
reporting.
Figure 16-1.
The Easy Digital VIs
If you have configured channels using the DAQ Channel Wizard,
digital channel
can consist of a digital channel name. The channel name
may refer to either a port or a line in a port. You do not need to specify
device
,
line
, or
port
width
as these inputs are not used by LabVIEW if a
channel name is specified in
digital channel
. For more information about
using the DAQ Channel Wizard to configure your channels, refer to the
Configuring Your Channels in NI-DAQ 5.x, 6.0 section of Chapter 2,
Installing and Configuring Your Data Acquisition Hardware
. For more
information about using channel names, refer to the
Channel Name
Addressing
section of Chapter 3,
Basic LabVIEW Data
Acquisition Concepts
.