Property SLSignalGen.TSLSignalGen.Asymmetry
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(5 intermediate revisions by one user not shown) | |||
Line 10: | Line 10: | ||
=== Delphi: === | === Delphi: === | ||
<code> | <code> | ||
− | '''property''' Asymmetry : Real '''read''' GetAsymmetry '''write''' SetAsymmetry; | + | '''property''' Asymmetry : Real '''read''' GetAsymmetry '''write''' SetAsymmetry '''default''' 0; |
</code> | </code> | ||
=== C++ Builder: === | === C++ Builder: === | ||
<code> | <code> | ||
− | '''__property''' double Asymmetry = { '''read'''=GetAsymmetry, '''write'''=SetAsymmetry }; | + | '''__property''' double Asymmetry = { '''read'''=GetAsymmetry, '''write'''=SetAsymmetry, '''default'''=0 }; |
</code> | </code> | ||
Latest revision as of 00:11, 26 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 Asymmetry : Real read GetAsymmetry write SetAsymmetry default 0;
C++ Builder:
__property double Asymmetry = { read=GetAsymmetry, write=SetAsymmetry, default=0 };
Summary
The Amplitude of generated triangle signal.
Description
Use this property to specify the Asymmetry for triangle
signals.
Delphi example:
SLSignalGen1.SignalType := stTriangle; SLSignalGen1.Asymmetry := 0.3;
C++ Builder example:
SLSignalGen1->SignalType = stTriangle; SLSignalGen1->Asymmetry = 0.3;
Visual C++(MFC) example:
SLSignalGen1.SignalType = stTriangle; SLSignalGen1.Asymmetry = 0.3;
C# example:
signalGen1.SignalType = Mitov.SignalLab.SignalType.Triangle; signalGen1.Asymmetry = 0.3;