Contec PO-64L(PCI)H Digital Output block (not recommended)
Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use.
To open this library, type
xpcobsoletelib in the Command
I/O Module Output
Block Input Data Type
>0.5 = TTL high
Bit set = TTL high
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 input voltage is low.
With this mode, the block reads, modifies, then writes the data. This enables you to use multiple instances of this block, with each block addressing a different bit. However, for efficiency, use a single block for each 32-bit group. Use multiple block instances only if your model requires multiple accesses.
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 manufacturer documentation.
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 output channels, enter
This vector indexes into group A or B channels. For group A, channel
[1, 3] specifies channels 0 and 2. For group
B, channel vector
[1, 3] specifies channels 32 and
The channel numbers can occur in arbitrary order, but the numbers must be in the range 1 to 32.
The initial value vector contains the initial voltage values for the output channels. Enter a scalar or a vector that is the same length as the channel vector. If you specify a scalar value, that value is replicated as the initial value over the channel vector. The channels are set to the initial values between the time the model is downloaded and the time it is started.
The final action vector controls the behavior of the channel at model
termination. Enter a scalar or a vector that is the same length as the
channel vector. If you specify a scalar value, that setting is
replicated over the channel vector. If you specify a value of
1, the corresponding channel is reset to the
value specified in the initial value vector. If you specify a value of
-1, the block sets the channel to the value
specified in the Final value vector value for that
channel. If you specify a value of
0, the channel
remains at the last value attained while the model was running.
The final value vector contains the final value for each output channel. Enter a scalar or a vector that is the same length as the channel vector. If you specify a scalar value, that setting is replicated over the channel vector. If the Final action vector is -1, the block sets the channel to this value on model termination.
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).
If only one board of this type is in the target computer, enter
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
To determine the bus number and the PCI slot number, type:
tg = slrt; getPCIInfo(tg, 'installed')