Component: Stopwatch (Timing )

From Flowcode Help
Revision as of 09:31, 19 July 2024 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Timing


Stopwatch component

Stopwatch component used to measure the passage of time. Capable of measuring milliseconds, seconds, minutes, hours and time in seconds as a float.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

GetElapsedTimeAsReal

Fc9-comp-macro.png GetElapsedTimeAsReal
Returns the current stop watch time as a floating point number in seconds. 
Fc9-f32-icon.png - FLOAT Return


GetElapsedTimeAsUnit

Fc9-comp-macro.png GetElapsedTimeAsUnit
Gets the stop watch time in the unit specified. 
Fc9-u8-icon.png - BYTE Unit
0=milliseconds, 1=seconds, 2=minutes, 3=hours 
Fc9-u32-icon.png - ULONG Return


Start

Fc9-comp-macro.png Start
Starts the stop watch running. 
Fc9-bool-icon.png - BOOL ResetCounter
0=Start counting without resetting, 1=Reset Counter 
Fc9-void-icon.png - VOID Return


Stop

Fc9-comp-macro.png Stop
Stops the stop watch 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties

Component Source Code

Please click here to download the component source project: FC_Comp_Source_StopWatch.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_StopWatch.fcsx