Jump to content

Component: Timer ( Data): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
Line 36: Line 36:


===SetMacro===
===SetMacro===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 55: Line 55:


===Start===
===Start===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 74: Line 74:


===Stop===
===Stop===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 89: Line 89:
==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]

Revision as of 14:15, 13 July 2026

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

Web Timer Example


Macro reference

SetMacro

SetMacro
Sets the macro to be called when the timer event is triggered 
- STRING sMacro
Name of the macro to be called 
- VOID Return


Start

Start
Start the timer 
- ULONG iInterval
Interval length (in ms) 
- VOID Return


Stop

Stop
Stop/cancel the timer 
- VOID Return


Property reference

Properties
Type
 
Call macro
Macro to call when the timer event is triggered