Property SLSignalGen.TSLSignalGen.Phase

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Phase : Real '''read''' GetPhase '''write''' SetPhase;
+
'''property''' Phase : Real '''read''' GetPhase '''write''' SetPhase '''default''' 0;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' double Phase = { '''read'''=GetPhase,  '''write'''=SetPhase };
+
'''__property''' double Phase = { '''read'''=GetPhase,  '''write'''=SetPhase,  '''default'''=0 };
 
</code>
 
</code>
  

Revision as of 20:30, 10 June 2013

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 Phase : Real read GetPhase write SetPhase default 0;

C++ Builder:

__property double Phase = { read=GetPhase, write=SetPhase, default=0 };

Summary

The initial Phase of the generated periodic signal.

Description

Use this property to specify the initial phase of the generated signal. Ignored for DC signals.


Delphi example:

SLSignalGen1.Phase := 1.3;

C++ Builder example:

SLSignalGen1->Phase = 1.3;

Visual C++(MFC) example:

SLSignalGen1.Phase = 1.3;

C# example:

signalGen1.Phase = 1.3;

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox