Class SLGenericGen.TSLGenericGen

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
(Automated Syncronization with Documentation)
Line 39: Line 39:
 
Implement the user defined generator inside the [[Event SLGenericGen.TSLGenericGen.OnGenerate|OnGenerate]]
 
Implement the user defined generator inside the [[Event SLGenericGen.TSLGenericGen.OnGenerate|OnGenerate]]
 
event handler.
 
event handler.
 +
 +
 +
 +
<b>Diagram:</b>
 +
 +
[[Image:SLGenericGen_Preview.png]]
  
 
== Events ==
 
== Events ==
Line 46: Line 52:
  
 
== Pins ==
 
== Pins ==
*[[Pin SLCommonGen.TSLCommonBlockGen.OutputPin|OutputPin]] - The output pin of the component.
+
*[[Pin SLCommonGen.TSLCommonBlockGen.OutputPin|OutputPin]]
  
 
== From [[Class SLCommonGen.TSLCommonBufferGen|TSLCommonBufferGen]] ==
 
== From [[Class SLCommonGen.TSLCommonBufferGen|TSLCommonBufferGen]] ==
Line 53: Line 59:
  
 
=== Published ===
 
=== Published ===
*[[Property SLCommonGen.TSLCommonBufferGen.BufferSize|BufferSize]] - Specifies the desired buffer size for the generator.
+
*[[Property SLCommonGen.TSLCommonBufferGen.BufferSize|BufferSize]]
  
 
== Events ==
 
== Events ==
*[[Event SLCommonGen.TSLCommonBufferGen.OnStart|OnStart]] - Occurs when the data pumping starts.
+
*[[Event SLCommonGen.TSLCommonBufferGen.OnStart|OnStart]]
  
 
== From [[Class SLCommonGen.TSLCommonGen|TSLCommonGen]] ==
 
== From [[Class SLCommonGen.TSLCommonGen|TSLCommonGen]] ==
Line 63: Line 69:
  
 
=== Published ===
 
=== Published ===
*[[Property SLCommonGen.TSLCommonGen.SampleRate|SampleRate]] - Specifies the sample rate for the generator.
+
*[[Property SLCommonGen.TSLCommonGen.SampleRate|SampleRate]]
  
 
== From [[Class SLCommonGen.TSLBasicCommonGen|TSLBasicCommonGen]] ==
 
== From [[Class SLCommonGen.TSLBasicCommonGen|TSLBasicCommonGen]] ==
Line 70: Line 76:
  
 
=== Published ===
 
=== Published ===
*[[Property SLCommonGen.TSLBasicCommonGen.Enabled|Enabled]] - Enables/Disables the generator.
+
*[[Property SLCommonGen.TSLBasicCommonGen.Enabled|Enabled]]
*[[Property SLCommonGen.TSLBasicCommonGen.PumpPriority|PumpPriority]] - Specifies the priority of the component as a pump.
+
*[[Property SLCommonGen.TSLBasicCommonGen.PumpPriority|PumpPriority]]
*[[Property SLCommonGen.TSLBasicCommonGen.ClockSource|ClockSource]] - Specifies the clock source - internal or external.
+
*[[Property SLCommonGen.TSLBasicCommonGen.ClockSource|ClockSource]]
  
 
== Methods ==
 
== Methods ==
  
 
=== Public ===
 
=== Public ===
*[[Method procedure SLCommonGen.TSLBasicCommonGen.Pump()|procedure Pump()]] - Generates one buffer if enabled and [[Property SLCommonGen.TSLBasicCommonGen.ClockSource|ClockSource]] is [[Enum item LPComponent.TSLClockSource.csExternal|csExternal]].
+
*[[Method procedure SLCommonGen.TSLBasicCommonGen.Pump()|procedure Pump()]]
*[[Method procedure SLCommonGen.TSLBasicCommonGen.Start()|procedure Start()]] - Starts the generator.
+
*[[Method procedure SLCommonGen.TSLBasicCommonGen.Start()|procedure Start()]]
*[[Method procedure SLCommonGen.TSLBasicCommonGen.Stop()|procedure Stop()]] - Stops the generator.
+
*[[Method procedure SLCommonGen.TSLBasicCommonGen.Stop()|procedure Stop()]]
  
 
== Pins ==
 
== Pins ==
*[[Pin SLCommonGen.TSLBasicCommonGen.EnablePin|EnablePin]] - The enable pin of the generator.
+
*[[Pin SLCommonGen.TSLBasicCommonGen.ClockPin|ClockPin]]
*[[Pin SLCommonGen.TSLBasicCommonGen.ClockPin|ClockPin]] - The Clock Input Pin of the component.
+
  
 
== Events ==
 
== Events ==
*[[Event SLCommonGen.TSLBasicCommonGen.OnStop|OnStop]] - Occurs when the data pumping stops.
+
*[[Event SLCommonGen.TSLBasicCommonGen.OnStop|OnStop]]
  
 
[[Category:Components]][[Category:Classes]]
 
[[Category:Components]][[Category:Classes]]

Revision as of 20:28, 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.

BIGSLGenericGen.gif SLGenericGen.gif NETSLGenericGen.gif

Package: SignalLabBasicPkg

Unit: SLGenericGen

Inherits: TSLCommonBlockGen

Contents

Syntax

Delphi:

type TSLGenericGen = class( TSLCommonBlockGen )

C++ Builder:

class TSLGenericGen : public TSLCommonBlockGen

Visual C++ (MFC):

class CTSLGenericGen : public CTSLCommonBlockGen

C# (.NET):

public ref class TSLGenericGen : Mitov.SignalLab.CommonBlockGen

Summary

User defined generator for Binary data.

Description

Allows implementation of custom user defined binary data signal generators.

Implement the user defined generator inside the OnGenerate event handler.


Diagram:

SLGenericGen Preview.png

Events

From TSLCommonBlockGen

Pins

From TSLCommonBufferGen

Properties

Published

Events

From TSLCommonGen

Properties

Published

From TSLBasicCommonGen

Properties

Published

Methods

Public

Pins

Events

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox