Property SLSignalGen.TSLSignalGen.Amplitude
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''' Amplitude : Real '''read''' GetAmplitude '''write''' SetAmplitude;  | + | '''property''' Amplitude : Real '''read''' GetAmplitude '''write''' SetAmplitude '''default''' 20000;  | 
</code>  | </code>  | ||
=== C++ Builder: ===  | === C++ Builder: ===  | ||
<code>  | <code>  | ||
| − | '''__property''' double Amplitude = { '''read'''=GetAmplitude,  '''write'''=SetAmplitude };  | + | '''__property''' double Amplitude = { '''read'''=GetAmplitude,  '''write'''=SetAmplitude,  '''default'''=20000 };  | 
</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 Amplitude : Real read GetAmplitude write SetAmplitude default 20000;
C++ Builder:
__property double Amplitude = { read=GetAmplitude,  write=SetAmplitude,  default=20000 };
Summary
The Amplitude of the generated signal.
Description
Use this property to specify the amplitude of the generated
signal. In case of DC - the DC value.
Delphi example:
SLSignalGen1.Amplitude := 20000;
C++ Builder example:
SLSignalGen1->Amplitude = 20000;
Visual C++(MFC) example:
SLSignalGen1.Amplitude = 20000;
C# example:
signalGen1.Amplitude = 20000;