Diamond MM-16-AT Analog Input (A/D)

MM-16-AT Analog Input block (not recommended)


Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use

Scaling Input to Output

I/O Module Input

Block Output Data Type





Block Parameters

First Channel

Enter the number of the first channel in a set of contiguous analog input channels. Depending on the channel configuration selected, the first channel number must be within the range 1 through 8 (Coupling parameter set to 8 differential channels) or 1 through 16 (Coupling parameter set to 16 single-ended channels).

Number the lines beginning with 1 even if this board manufacturer starts numbering the lines with 0.

Number of Channels

Enter the number of input channels you want to use. The maximum number of channels varies between 1 and 16 and depends on the values of Coupling and First Channel.


From the list, choose a voltage range. The input range applies to all channels.


From the list, select one from the following list of input modes:

  • Single-ended (16 channels)

  • Differential (8 channels)

    This choice must correspond to the jumper setting in block J4 on the board.

Show error status output (E)

Select this check box to add a port labeled E to the block and to display (the contents of) that special port. This output has a value of 0 unless a problem is detected while attempting an A/D conversion. In the unlikely event that an error occurs, the port has a nonzero value. This nonzero value takes the form of a real number whose binary representation of 1's and 0's (true and false) indicates which channels have errors.

Sample time

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

Base address

Enter the base address of the board. This entry must correspond to the DIP switch setting on the board. For example, if the DIP switch setting is 300 (hexadecimal), enter 0x300.

External Websites

Was this topic helpful?