Difference between revisions of "Component: Timer ( Data)"

From Flowcode Help
Jump to navigationJump to search
 
Line 30: Line 30:
  
 
{{Fcfile|Web_JSON_Encoder.fcsx|Web Timer Example}}
 
{{Fcfile|Web_JSON_Encoder.fcsx|Web Timer Example}}
 +
 +
  
 
==Macro reference==
 
==Macro reference==

Latest revision as of 15:07, 5 December 2023

Author MatrixTSL
Version 0.1
Category Data


Timer component

Component to provide a single or regular event interval.

Component Source Code

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

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

Detailed description

No detailed description exists yet for this component

Examples

An example showing how to use a timer component to send temperature and humidity JSON encoded data string via encoder JSON component

FC6 Icon.png Web Timer Example


Macro reference

SetMacro

Fc9-comp-macro.png SetMacro
Sets the macro to be called when the timer event is triggered 
Fc9-string-icon.png - STRING sMacro
Name of the macro to be called 
Fc9-void-icon.png - VOID Return


Start

Fc9-comp-macro.png Start
Start the timer 
Fc9-u32-icon.png - ULONG iInterval
Interval length (in ms) 
Fc9-void-icon.png - VOID Return


Stop

Fc9-comp-macro.png Stop
Stop/cancel the timer 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-7-icon.png Type
 
Fc9-type-24-icon.png Call macro
Macro to call when the timer event is triggered