Prometheus/Athena 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 channels. Depending on the channel configuration selected, the first channel number must be within the range:
1 through 8, if the input coupling is differential
1 through 16, if the input coupling is single-ended
Number the channels beginning with 1 even if this board manufacturer starts numbering the channels 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 First channel and Input coupling. For example, if the value of First channel is
1 and Input coupling is
the maximum value for Number of channels is
From the list, choose a voltage range. The input range applies to all channels. This range must agree with jumper settings in block J13 on the board.
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 J13 on the board.
Select this check box to display real-time error information. This check box displays an output port labeled E. As long as the driver does not detect an error on the channels currently in use, this signal has a value of 0. Values of 1, 2, 4, 8, and so forth respectively indicate problems on channels 1, 2, 3, 4, and so forth. To use one signal to indicate errors on multiple channels, the driver combines these values. For example, the E value 1 + 2 = 3 encodes the concurrent errors on channels 1 and 2, the value 2 + 4 = 6 encodes the concurrent errors on channels 2 and 3, and so on.
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