Analog Input

Description of the Analog Input source component in Schematic editor, which outputs a value from a selected analog input.

Component icon

Figure 1. Analog input icon

Description

The analog input source component outputs the value that is collected from the HIL's analog input that is selected in the property Analog input index.

Ports

  • Output (out)
    • Signal collected from the analog input and output by the component.
      • Supported types: real
      • Vector support: no

Properties

  • Analog Input Index
    • Select the analog input from where the component will receive the signal.
  • Analog input offset
    • Type in the value for the offset that will be applied to the analog input before being output by the component.
  • Analog input gain
    • Type in the value for the gain that will be applied to the analog input before being output by the component. Supported signal types are real, int, and uint.
  • Execution rate
    • Type in the desired signal processing execution rate. This value must be compatible with other signal processing components of the same circuit: the value must be a multiple of the fastest execution rate in the circuit. There can be up to four different execution rates, but they must all be multiple of the basic simulation timestep. To specify the execution rate, you can use either decimal (e.g. 0.001) or exponential values (e.g. 1e-3) in seconds. Alternatively, you can type in ‘inherit’ in which case the component will be assigned execution rate based on the execution rate of the components it is receiving input from.