Sine Class
The Sine component is a simple sine signal generator. More...
Header: | #include <ComponentLib/Sine.h> |
Inherits: | CDPComponent |
Additional Inherited Members
- 90 public functions inherited from CDPComponent
- 37 public functions inherited from CDPObject
- 46 public functions inherited from CDPBaseObject
- 26 public functions inherited from CDP::StudioAPI::CDPNode
- 22 public functions inherited from CDP::StudioAPI::ICDPNode
- 2 static public members inherited from CDPComponent
- 6 static public members inherited from CDPObject
- 1 static public member inherited from CDPBaseObject
- 12 protected functions inherited from CDPComponent
- 13 protected functions inherited from CDPObject
- 1 protected function inherited from CDP::StudioAPI::CDPNode
- 31 protected variables inherited from CDPComponent
- 7 protected variables inherited from CDPObject
- 9 protected variables inherited from CDPBaseObject
- 1 static protected member inherited from CDPObject
Detailed Description
The Sine component is a simple sine signal generator.
Generated sine is assigned to Output signal: Output = Offset + Amplitude * sin(2 * PI * Frequency * Time);
Parameters
Parameter | Description |
---|---|
Amplitude | The amplitude of Sine Component Output signal |
Frequency | The frequency [Hz] of Sine Component Output signal |
Offset | The offset of Sine Component Output signal |
UseRealTime | If set, use realtime as time-input (CDPTime::GetGlobalTime()). Default is using CDPTimerMs for time input. |
Signals
Signal | Description |
---|---|
Output | Generated sine |
Time | Time in seconds used to generate sine Output |
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.