Difference between revisions of "Component: Timer Interrupt (Timing )"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.1 |- | width="20%" style="color:gray...") |
|||
| Line 13: | Line 13: | ||
==Timer Interrupt component== | ==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== | ==Version information== | ||
Library Version, Component Version, Date, Author, Info | Library Version, Component Version, Date, Author, Info | ||
| + | 1, 1.0, 06-03-25, MW, Component created | ||
| Line 207: | Line 208: | ||
| width="90%" | Time Unit | | width="90%" | Time Unit | ||
|- | |- | ||
| − | | colspan="2" | | + | | colspan="2" | The unit of time to measure |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
| Line 217: | Line 218: | ||
| width="90%" | Call Macro | | width="90%" | Call Macro | ||
|- | |- | ||
| − | | colspan="2" | User macro to be triggered every time | + | | colspan="2" | User macro to be triggered every time the interrupt is triggered. |
|} | |} | ||
==Component Source Code== | ==Component Source Code== | ||
| − | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_TimerInterruptPCDev.fcsx FC_Comp_Source_TimerInterruptPCDev.fcsx] |
| − | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_TimerInterruptPCDev.fcsx FC_Comp_Source_TimerInterruptPCDev.fcsx] |
Latest revision as of 21:16, 27 January 2026
| Author | Matrix TSL |
| Version | 1.1 |
| Category | Timing |
Contents
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
ChangeTimeHours
ChangeTimeMilliseconds
ChangeTimeMinutes
ChangeTimeSeconds
StartTimer
| StartTimer | |
| Start timer interrupt running | |
| Return | |
StopTimer
| StopTimer | |
| Stop the timer interrupt running. Stopping the simulation, also stops the timer interrupt. | |
| Return | |
Property reference
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