BVM PMCDIO64 Digital Input

PMCDIO64 Digital Input block


Simulink® Real-Time™ Library for BVM

Scaling Input to Output

I/O Module Input

Block Output Data Type




TTL low = 0.0
TTL high = 1.0

Block Parameters


From the list, select either 32 One bit channels or Single 32 bit port.

If the format is 32 One bit channels, then the channel vector specifies the configuration of the block. Each output is a double with value of 0 or 1. The value is 0 when the input voltage is low.

If the format is Single 32 bit port, then the output from the block is a 32-bit integer, where the 32 bits on the I/O module feed into the single output. The channel vector is not used in this mode and is unavailable on the Block Parameters dialog box. The least significant bit is the lowest numbered bit in the manufacturer documentation.

Channel vector

This is a vector of channels. This parameter is only used when the format is 32 One bit channels. Channels are numbered from 1 to 32 even if this manufacturer labels them 0 to 31.


Each half of the 64 bits is a separate port. Port 1 is the lower 32 bits and Port 2 is the upper 32 bits. You can use one port for input and the other port for output.

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?