User`s guide
Hardware Environment
1-9
I/O driver block library — The Real-Time Windows Target provides a custom
Simulink block library. The I/O driver block library contains universal drivers
for supported I/O boards. These universal blocks are configured to operate with
the library of supported drivers. This allows easy location of driver blocks and
easy configuration of I/O boards.
You drag and drop a universal I/O driver block from the I/O library the same
way as you would from a standard Simulink block library. And you connect
an I/O driver block to your model just as you would connect any standard
Simulink block.
You create a real-time application in the same way as you create any other
Simulink model, by using standard blocks and C-code S-functions. You can add
input and output devices to your Simulink model by using the I/O driver blocks
from the
rtwinlib library provided with the Real-Time Windows Target. This
library contains the following blocks:
• Analog Input
• Analog Output
• Digital Input
• Digital Output
• Counter Input
• Encoder Input
The Real-Time Windows Target provides driver blocks for more than 200 I/O
boards. These driver blocks connect the physical world to your real-time
application:
• Sensors and actuators are connected to I/O boards.
• I/O boards convert voltages to numerical values and numerical values to
voltages.
• Numerical values are read from or written to I/O boards by the I/O drivers.