PMC-ADADIO Digital Input block
Simulink® Real-Time™ Library for General Standards
Note that you cannot use the PMC-ADADIO Digital Input and Digital Output driver blocks simultaneously on the same board. Doing so causes an error at model update or build.
I/O Module Input
Block Output Data Type
TTL low = 0.0
The values passed to the enable input port and enable output port of this block are Boolean values.
Enter numbers between 1 and 8 to select the digital input lines to be read. This driver allows the selection of individual digital input lines in arbitrary order. The number of elements defines the number of digital lines used.
For example, to use all of the digital inputs, enter
Number the lines beginning with 1 even if this board manufacturer starts numbering the lines with 0. Note that the 8 digital lines are either all input or all output.
Select this check box to display an input enable port that controls writing data from the digital input ports on the I/O module. If the enable input signal is true, then the digital input values are read and output to the block output port. If the enable input signal is false, then zero data is output to the block output port. If this check box is not selected, then the enable input signal is assumed to be true.
Select this check box to pass the Boolean value from the input enable port to the output enable port. You can connect this port to the input enable port on another block to control other blocks in the model and specify execution ordering.
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).
If only one board of this type is in the target computer, enter
locate the board.
If two or more boards of this type are in the target computer,
enter the bus number and the PCI slot number of the board associated
with this driver block. Use the format
To determine the bus number and the PCI slot number, type:
tg = slrt; getPCIInfo(tg, 'installed')