Contec AD12-16(PCI) Digital Input

Contec AD12-16(PCI) Digital Input block


Simulink® Real-Time™ Library for Contec

Scaling Input to Output

I/O Module Input

Block Output Data Type




TTL low = 0.0
TTL high = 1.0

Block Parameters

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 1 even if this board manufacturer numbers them beginning with 0. The maximum allowable channel number is 4.

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?