Property SLSignalGen.TSLSignalGen.CurrentPhase

From Mitov Wiki Doc
Revision as of 00:24, 22 November 2011 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TSLSignalGen

Contents

Syntax

Delphi:

property CurrentPhase : Real read GetIntPhase;

C++ Builder:

__property double CurrentPhase = { read=GetIntPhase };

Summary

Returns the current phase of the signal generator

Description

Use this property to get the current internal phase of the signal generator. It is meaningful only when the generator is active.

Use this property to obtain what is the stating phase in radians of the next buffer to be generated.


Delphi example:

var APhase : Real;
APhase := SLSignalGen1.CurrentPhase;

C++ Builder example:

double APhase = SLSignalGen1->CurrentPhase;

Visual C++(MFC) example:

double APhase = SLSignalGen1.CurrentPhase;

C# example:

double APhase = signalGen1.CurrentPhase;

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox