Property SLSignalGen.TSLSignalGen.Frequency
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 10: | Line 10: | ||
=== Delphi: === | === Delphi: === | ||
<code> | <code> | ||
− | '''property''' Frequency : Real '''read''' GetFrequency '''write''' SetFrequency; | + | '''property''' Frequency : Real '''read''' GetFrequency '''write''' SetFrequency '''default''' 500; |
</code> | </code> | ||
=== C++ Builder: === | === C++ Builder: === | ||
<code> | <code> | ||
− | '''__property''' double Frequency = { '''read'''=GetFrequency, '''write'''=SetFrequency }; | + | '''__property''' double Frequency = { '''read'''=GetFrequency, '''write'''=SetFrequency, '''default'''=500 }; |
</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 Frequency : Real read GetFrequency write SetFrequency default 500;
C++ Builder:
__property double Frequency = { read=GetFrequency, write=SetFrequency, default=500 };
Summary
The Frequency of the generated periodic signal.
Description
Use this property to specify the frequency of the generated
signal. Ignored for DC signals.
Delphi example:
SLSignalGen1.Frequency := 2000;
C++ Builder example:
SLSignalGen1->Frequency = 2000;
Visual C++(MFC) example:
SLSignalGen1.Frequency = 2000;
C# example:
signalGen1.Frequency = 2000;