Diamond Prometheus/Athena/Athena II Analog Input (A/D)

Prometheus/Athena 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 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.

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 First channel and Input coupling (J13 setting). For example, if the value of First channel is 1 and Input coupling (J13 setting) is Single-ended, the maximum value for Number of channels is 16.

Range (J13 setting)

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.

Input coupling (J13 setting)

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.

Show error status output port

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.

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?