Jump to content

Component: Timer Interrupt (Timing )

From Flowcode Help
Revision as of 14:36, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"")
Author Matrix TSL
Version 1.1
Category Timing


Timer Interrupt component

The timer interrupt can be set to trigger a specifed User macro evey time a set time has elapsed. Time units that can be selected are: Milliseconds, Seconds, Minutes, Hours or Days Maximum milliseconds = 4294967295 Maximum seconds = 4294967. Maximum minutes = 71582, Maximum hours = 1193, Maximum days = 49 Times can be changed on the fly

Version information

Library Version, Component Version, Date, Author, Info
1, 1.0, 06-03-25, MW, Component created


Detailed description

No detailed description exists yet for this component

Examples

No additional examples










Macro reference

ChangeTimeDays

ChangeTimeDays
Change the interrupt time to a new time in days. Maximum days = 49 Timer interrupt will continue at the new rate, until TimerStop or the simuation is stopped. 
- BYTE Days
Maximum days = 49 
- VOID Return


ChangeTimeHours

ChangeTimeHours
Change the interrupt time to a new time in hours. Maximum hours = 1193 Timer interrupt will continue at the new rate, until TimerStop or the simuation is stopped.  
- UINT Hours
Maximum hours = 1193 
- VOID Return


ChangeTimeMilliseconds

ChangeTimeMilliseconds
Change the interrupt time to a new time in milliseconds. Maximum milliseconds = 4294967295 Timer interrupt will continue at the new rate, until TimerStop or the simuation is stopped. 
- ULONG Milliseconds
Maximum milliseconds = 4294967295 
- VOID Return


ChangeTimeMinutes

ChangeTimeMinutes
Change the interrupt time to a new time in minutes. Maximum minutes = 71582 Timer interrupt will continue at the new rate, until TimerStop or the simuation is stopped. 
- ULONG Minutes
Maximum minutes = 71582 
- VOID Return


ChangeTimeSeconds

ChangeTimeSeconds
Change the interrupt time to a new time in seconds. Maximum seconds = 4294967 Timer interrupt will continue at the new rate, until TimerStop or the simuation is stopped. 
- ULONG Seconds
Maximum seconds = 4294967 
- VOID Return


StartTimer

StartTimer
Start timer interrupt running 
- VOID Return


StopTimer

StopTimer
Stop the timer interrupt running. Stopping the simulation, also stops the timer interrupt. 
- VOID Return


Property reference

Properties
Timer Interrupt
Time Unit
The unit of time to measure 
Time Period
Maximum milliseconds = 4294967295 Maximum seconds = 4294967. Maximum minutes = 71582, Maximum hours = 1193, Maximum days = 49 
Call Macro
User macro to be triggered every time the interrupt is triggered.  

Component Source Code

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

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