| xPC Target | ![]() |
www.kxcad.net Home > CAE Software Index > MATLAB Index >
PI-64L(PCI)H Digital Input block
xPC Target Library for Contec
Hardware Input | Block Output Data Type | Scaling |
|---|---|---|
TTL | Double (Format:32 1-bit Channels) | Double: TTL high =
1.0 |
uint32 (Format:Single 32-bit Port) | uint32: TTL high corresponding bit is set |
From the list, select either
32 1-bit Channels — Indicates that 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.
Single 32-bit Port — Indicates that the output from the block is a 32-bit integer where all 32 bits on the board feed into the single output. The least significant bit is the lowest numbered bit in the Contec documentation.
If you choose this mode, use the bit packing and unpacking blocks (Digital I/O Bit-Packing and Digital I/O Bit-Unpacking) to construct appropriate data frames.
From the list, select either
A (Bits 0-31) — Selects the 32-bit word from group A to address.
B (Bits 32-63) — Selects the 32-bit word from group B to address.
(32 1-bit Channels mode only) Enter a vector of numbers to specify the output channels. For example, to use the first and third digital input channels, enter
[1, 3]
This vector indexes into group A or B channels. For group A, channel vector [1, 3] specifies channels 0 and 2. For group B, channel vector [1, 3] specifies channels 32 and 34.
The channel numbers can occur in any order, but the numbers must be in the range 1 to 32.
This parameter specifies the digital filter time. From the list, select
No filtering
0.25 usec
0.5 usec
1 usec
2 usec
4 usec
8 usec
See the Contec documentation for further details on the digital filter time.
Enter the base sample time or a multiple of the base sample time.
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
| Contec PI-64L(PCI)H | Contec PIO-32/32F(PCI) | ![]() |
© 1984-2007 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments