Skip to Main Content Skip to Search
Product Documentation

BVM PMCDIO64 Digital Input - PMCDIO64 Digital Input block

Library

xPC Target Library for BVM

Scaling Input to Output

Hardware Input

Block Output Data Type

Scaling

TTL

double

TTL low = 0.0
TTL high = 1.0

Block Parameters

Format

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 hardware input voltage is low.

If the format is Single 32 bit port, then the output from the block is a 32-bit integer where all 32 bits on the hardware 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 hardware manual.

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 though the hardware manual labels them 0 to 31.

Port

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.

PCI Slot (-1:autosearch)

If only one board of this type is in the target PC, enter

-1 

to automatically locate the board.

If two or more boards of this type are in the target PC, 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

getxpcpci
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS