PMC-ADADIO Analog Input Read 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 Input
Block Output Data Type
The values passed to the enable input port and enable output port of this block are Boolean values.
Enter a scalar between 1 and 8 to select the number of channels from which to acquire data. This board acquires data from the channels in numerical order. It is not possible to access channels in a different order or with gaps in the channel sequence. For example, if you enter 3, data is acquired from channels 1, 2, and 3. Select a number between 1 and 8 even if this manufacturer numbers the channels from 0 to 7.
From the list, select
+-2.5V as the input voltage range of the board. You must select the range
that corresponds to the factory configured input range. Consult the manufacturer
documentation to determine the voltage range of your board. The
Real-Time software uses this parameter to convert the data to floating point
From the list, select
Single-ended (8 channels) or
Differential (8 channels). See the manufacturer documentation for
information on how to wire the board for these configurations.
The PMC-ADADIO 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. 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.
Select this check box to display an input port that controls writing data from the A/D ports on the I/O module . If the enable input signal is true, then the output of the A/D converter is read and output to the block output port. If the enable input signal is false, then zero data is output to the block output port. If this check box is not selected, then the enable input signal is assumed to be true.
Select this check box to pass the Boolean value from the input enable port to the output enable port. You can connect this port to the input enable port on another block to control other blocks in the model and specify execution ordering.
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')