General Standards PMC-ADADIO Digital Input

PMC-ADADIO Digital Input block (not recommended)


Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use.

To open this library, type xpcobsoletelib in the Command Window.


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.

Scaling Input to Output

I/O Module Input

Block Output Data Type




TTL low = 0.0
TTL high = 1.0

The values passed to the enable input port and enable output port of this block are Boolean values.

Block Parameters

Channel vector

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.

Enable input port

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.

Enable output port

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.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

PCI slot (-1:autosearch)

If only one board of this type is in the target computer, enter -1 to 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 [BusNumber,SlotNumber].

To determine the bus number and the PCI slot number, type:

tg = slrt;
getPCIInfo(tg, 'installed')

Was this topic helpful?