Class in Zendir.Classes | Inherits from Message
Declaration
class ElectricalSignalMessage;Description
Electrical Signal message that defines the properties of a signal used by eletronic components
Properties
| Declared | Description |
|---|---|
| Amplitude | The amplitude (peak voltage) of the signal. This is the maximum deviation from the offset. |
| ControlType | The control type of the signal, whether it is controlling Voltage or Current. |
| Current | The current value of the signal. |
| DutyCycle | The duty cycle for square and pulse waves, expressed as a ratio (0.0 to 1.0).For example, 0.5 represents 50% duty cycle (equal high and low times). |
| Frequency | The frequency at which the signal is currently operating at,used only for time depandant signal types. |
| MaxSignalValue | The maximum value of the signal (Offset + Amplitude for most signal types).Used by consumers to normalize the signal value to a ratio. |
| MinSignalValue | The minimum value of the signal (Offset - Amplitude for most signal types).Used by consumers to normalize the signal value to a ratio. |
| Offset | The DC offset voltage of the signal. The signal will be centered around this value. |
| Phase | The phase shift of the signal in radians. This shifts the signal in time. |
| ProfileType | The type of signal that is represented by this message,whether that is a Constant, Sine, Square or another signal type. |
| State | The state of the signal that is represented by this message,whether that it is in a Constant, High, Low or another state. |
| Voltage | The voltage value of the signal. |