Property SLSignalGen.TSLSignalGen.Offset

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''' Offset : Real '''read''' GetOffset '''write''' SetOffset;
+
'''property''' Offset : Real '''read''' GetOffset '''write''' SetOffset '''default''' 0;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' double Offset = { '''read'''=GetOffset,  '''write'''=SetOffset };
+
'''__property''' double Offset = { '''read'''=GetOffset,  '''write'''=SetOffset,  '''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 Offset : Real read GetOffset write SetOffset default 0;

C++ Builder:

__property double Offset = { read=GetOffset, write=SetOffset, default=0 };

Summary

The DC offset of the generated periodic signal.

Description

Use this property to specify the DC offset for the generated signal. Ignored for DC signals.


Delphi example:

SLSignalGen1.Offset := 2000;

C++ Builder example:

SLSignalGen1->Offset = 2000;

Visual C++(MFC) example:

SLSignalGen1.Offset = 2000;

C# example:

signalGen1.Offset = 2000;

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox