UEI PD2-DIO-128 Digital Input

PD2-DIO-128 Digital Input block


Simulink® Real-Time™ Library for UEI

Scaling Input to Output

I/O Module Input

Block Output Data Type




TTL low = 0.0
TTL high = 1.0


Note that each block of 16 ports must be input or output.

Block Parameters

Board type

Select the specific board type from the list provided.

Port (first channel of port)

From the list, select the first channel of the port. Each port is 16 bits. This value plus the Channel vector value appear on the terminal block.

Channel vector

Enter a vector of numbers to specify the input channels. For example, to use the first and third digital input channels, enter

[1 3]

The channel numbers can occur in arbitrary order. Number the channels beginning with 0, which is the same as the I/O module numbering.

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?