Contec PIO-32/32L(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.
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.
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
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')