Class TLStopWatch.TTLStopWatch
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(2 intermediate revisions by one user not shown) | |||
Line 28: | Line 28: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' StopWatch : [[Class SLCommonFilter.TSLBasicEnableFilter|Mitov.TimingLab.BasicEnableFilter]] |
</code> | </code> | ||
== Summary == | == Summary == |
Latest revision as of 00:30, 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.
Package: TimingLabBasicPkg
Unit: TLStopWatch
Inherits: TSLBasicEnableFilter
Contents |
Syntax
Delphi:
type TTLStopWatch = class( TSLBasicEnableFilter )
C++ Builder:
class TTLStopWatch : public TSLBasicEnableFilter
Visual C++ (MFC):
class CTTLStopWatch : public CTSLBasicEnableFilter
C# (.NET):
public ref class StopWatch : Mitov.TimingLab.BasicEnableFilter
Summary
Measures time intervals.
Description
Use this component to implement a Stop Watch.
A Stop Watch can be used to measure time intervals. To start the StopWatch call the Start() method. To stop it call the Stop() method.
Once the Stop() is called the stop watch will send the measured value to its OutputPin.
Diagram:
Properties
Published
- ClockSource - Specifies the clock source - internal or external.
- PrecisionTimer - Precision timer info properties.
- SynchronizeType - Specifies the type of thread buffer synchronization.
Methods
Public
- procedure Start() - Starts the Stop Watch.
- procedure Stop() - Stops the Stop Watch.
- procedure Pump() - Generates a clock event if enabled and ClockSource is csExternal.
Pins
Events
- OnResult - Occurs when the stop watch is stopped.