PMC-16AO-12 Analog Output block (not recommended)
Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use.
To open this library, type
xpcobsoletelib in the Command
The analog output range of this board depends on the output range that was specified at the
time of purchase. This range can be
I/O Module Output
Block Input Data Type
Enter numbers between 1 and 12. This is a vector parameter that specifies the output channels. For example, to produce output on channels 2 and 3, enter
The unspecified channels are set to 0.0 volts on output.
Number the channels beginning with 1 although the board manufacturer starts numbering the channels with 0.
The reset 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 0, the channel remains at the last value attained while the model was
running. For example, if Channel vector is
[ 2 3 ]
and the Reset vector is
, the action taken will be
the same as if Reset vector was set to
[1 1]. Both
channels will be reset to their initial values when model execution is stopped.
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 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. When model execution is stopped, the corresponding position in Reset
vector is checked. Depending on that value, the channel is either reset to the
initial value or remains at the last value attained while the model was running. For example,
assume that Channel vector is
[2 5 8],
Reset vector is
[1 0 1], and Initial value
[2.3 5.6 0]. On initial download, channel 2 is set
to 2.3 volts, channel 5 to 5.6 volts, and channel 8 to 0.0 volts. When the model is stopped,
channel 2 resets to 2.3 volts, channel 5 remains at the last value attained, and channel 8
resets to 0.0 volts.
From the list, choose either
+-10.0. The PMC-16AO-12 is specified at purchase time as having one of
these three ranges. Choose the range to match that for which the board is configured.
Note that the range you set does not alter the configuration on the board. It is used to scale the signal when it is converted to a 16-bit value to be written to the output D/A converter (DAC).
The PMC-16AO-12 can check its own calibration (autocalibration) against an internal voltage reference. Choose this check box to execute the autocalibration cycle when the model is downloaded to the target computer. The output ports show a square wave during the cycle. The calibration cycle yields adjustment factors that are retained in onboard NVRAM. The PMC-16AO-12 reads these adjustment factors when the board is initialized. Unless you subject this board to harsh conditions, you should only need to run autocalibration occasionally—for example, once a month.
The calibration cycle takes several seconds to run. Refer to the manufacturer documentation for further information on autocalibration.
Choose this check box to enable onboard compensation for ground potential differences. Refer to the manufacturer documentation for further information on ground sense.
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
[BusNumber,SlotNumber]. To determine the bus number and the PCI
slot number, type:
tg = slrt; getPCIInfo(tg, 'installed')