Skip to Main Content Skip to Search
Product Documentation

Diamond MM-32-AT Analog Input (A/D) - MM-32-AT Analog Input block

Library

xPC Target Library for Diamond

Scaling Input to Output

Hardware Input

Block Output Data Type

Scaling

Volts

Double

1

Block Parameters

Channel configuration

From the list, select the following. Refer to the Diamond-MM-32-AT documentation for a description of the configuration modes.

  • 1-32 SE to select the configuration mode labeled A (32 single-ended input channels)

  • 1-16 DI to select the configuration mode labeled B (16 differential input channels)

  • 1-8SE 9-16 DI 17-24 SE to select the configuration mode labeled D (eight single-ended input channels labeled 1 through 8, eight differential input channels labeled 9 through 16, and an additional eight single-ended input channels labeled 17 through 24).

    Note that the selected channel configuration must match the configuration set by the jumpers in block J5. This driver does not support mode C.

First channel number

Enter the number of the first channel in a set of contiguous channels. Depending on the value of the Channel Configuration parameter, the first channel number must be within the range 1 through 32, 1 through 16, or 1 through 24.

Number of channels

Enter the number of input channels you want to use. The maximum number of channels varies between 1 and 32 and depends on Channel configuration and the First channel number.

Range

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

Sample time

Enter the base sample time or a multiple of the base sample time.

Base address

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

0x300
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS