This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

UEI PD2-DIO-128i Digital Input

PD2-DIO-128i 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

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.

The input and output ports on the PD2-DIO-128i are completely separate. You can use the same port numbers as input and output.

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 numbering on the I/O module label.

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')

See Also

External Websites

Was this topic helpful?