Difference between revisions of "Component: Timed Event Trigger (Runtime Tools)"
From Flowcode Help
Jump to navigationJump to searchLine 49: | Line 49: | ||
==Examples== | ==Examples== | ||
+ | A basic xy chart logging example using the Timed Event Trigger to call a user macro every second, | ||
− | + | {{Fcfile|Logging_Example.fcsx|Timed Event Trigger}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Macro reference== | ==Macro reference== |
Latest revision as of 09:57, 11 April 2023
Author | Matrix TSL |
Version | 1.0 |
Category | Runtime Tools |
Contents
Timed Event Trigger component
Component that will check to see if a predetermined amount of time has passed. Useful for doing things on a regular basis, e.g. every minute or every hour.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EventTrigger.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EventTrigger.fcfx
Detailed description
No detailed description exists yet for this component
Examples
A basic xy chart logging example using the Timed Event Trigger to call a user macro every second,
Macro reference
CheckTrigger
![]() |
CheckTrigger |
Checks the state of the trigger to determine if the allocated amount of time has passed. Returns true if amount of time has passed, otherwise returns false. | |
![]() |
Return |
Reset
![]() |
Reset |
Resets the countdown timer | |
![]() |
Return |
SetTimePeriod
Start
![]() |
Start |
Starts the countdown timer running. Automatically performs a reset if the event has already been triggered. | |
![]() |
Return |
Stop
![]() |
Stop |
Stops the countdown timer running | |
![]() |
Return |