Property ALSignalGen.TALSignalGen.Frequency

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(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''' Frequency : Real '''read''' FFrequency '''write''' SetFrequency;
+
'''property''' Frequency : Real '''read''' FFrequency '''write''' SetFrequency '''default''' 500;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' double Frequency = { '''read'''=FFrequency,  '''write'''=SetFrequency };
+
'''__property''' double Frequency = { '''read'''=FFrequency,  '''write'''=SetFrequency,  '''default'''=500 };
 
</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: TALSignalGen

Contents

Syntax

Delphi:

property Frequency : Real read FFrequency write SetFrequency default 500;

C++ Builder:

__property double Frequency = { read=FFrequency, write=SetFrequency, default=500 };

Summary

The Frequency of the generated periodic signal.

Description

Use this property to specify the frequency of the generated signal.


Delphi example:

ALSignalGen1.Frequency := 2000;

C++ Builder example:

ALSignalGen1->Frequency = 2000;

Visual C++(MFC/Win32) example:

ALSignalGen1.Frequency = 2000;

Visual C++/CLI example:

signalGen1->Frequency = 2000;

C# example:

signalGen1.Frequency = 2000;

VB example:

SignalGen1.Frequency = 2000

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox