MM-16-AT Analog Input block
Simulink® Real-Time™ Library for Diamond
I/O Module Input
Block Output Data Type
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
8 differential channels) or 1 through 16
(Coupling parameter set to
Number the lines beginning with 1 even if this board manufacturer starts numbering the lines with 0.
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.
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.
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).
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