Contec PIO-32/32F(PCI) Digital Input

Contec PIO-32/32F(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

I/O format

Select serial or parallel. If you select serial, the block is configured to accept up to 32 one-bit input channels. If you select parallel, the block is configured to accept a single 32-bit input channel and the channel vector parameter is unavailable.

Channel vector

If you selected serial I/O format, enter a vector of numbers to specify the input channels for serial I/O format. For example, to use the first and third digital input channels, enter

[1, 3]

The channel numbers can occur in arbitrary order, but the numbers must be in the range 1 to 32.

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

External Websites

Was this topic helpful?