• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Product
    • Design UI
    • Develop
    • Analyze and test
    • Deploy
    • Framework and toolbox
    • Compatibility
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - CDP Core
  • Sine
  • 4.11.14

Sine Class

The Sine component is a simple sine signal generator. More...

Header: #include <ComponentLib/Sine.h>
Inherits: CDPComponent
  • List of all members, including inherited members

Additional Inherited Members

  • 90 public functions inherited from CDPComponent
  • 37 public functions inherited from CDPObject
  • 42 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

ParameterDescription
AmplitudeThe amplitude of Sine Component Output signal
FrequencyThe frequency [Hz] of Sine Component Output signal
OffsetThe offset of Sine Component Output signal
UseRealTimeIf set, use realtime as time-input (CDPTime::GetGlobalTime()). Default is using CDPTimerMs for time input.

Signals

SignalDescription
OutputGenerated sine
TimeTime in seconds used to generate sine Output

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

    © Copyright 2022 CDP Technologies. Privacy and cookie policy.

    Return to top