This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

General Standards PMC-ADADIO Analog Input (A/D) Read

PMC-ADADIO Analog Input Read block


Simulink® Real-Time™ Library for General Standards

Scaling Input to Output

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.

Block Parameters

Number of channels

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.

Range option

From the list, select +-10V, +-5V or +-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 Simulink Real-Time software uses this parameter to convert the data to floating point numbers.

Input coupling

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.

    Note:   The calibration cycle takes several seconds to run. Refer to the manufacturer documentation for further information on autocalibration.

Enable input port

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.

Enable output port

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.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

PCI slot (-1:autosearch)

If only one board of this type is in the target computer, enter -1 to 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')

See Also

External Websites

Was this topic helpful?