Digital Input/Output
Digital I/O (DIO) subsystems are designed to transfer digital
values to and from hardware. These values are handled either as single
bits or lines, or as a port,
which typically consists of eight lines. While most popular data acquisition
boards include some DIO capability, it is usually limited to simple
operations and special dedicated hardware is required for performing
advanced DIO operations. The Data Acquisition Toolbox software
provides access to digital I/O subsystems through a digital I/O object.
The DIO object can be associated with a parallel port or with a DIO
subsystem on a data acquisition board.
The purpose of this chapter is to show you how to perform data
acquisition tasks using your digital I/O hardware. The sections are
as follows.
Note
Data Acquisition Toolbox software does not directly support
buffered DIO or handshaking (latching). However, you can write your
own M-code to support this functionality. Buffered DIO means that
the data is stored in the engine. Handshaking allows the DIO subsystem
to input or output values after receiving a digital pulse. |
Note
Data Acquisition Toolbox software does not support the counter/timer
subsystem that is built into a number of data acquisition devices. |
 | Synchronizing Analog Input and Analog Output Using RTSI Hardware | | Digital I/O Objects |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit