(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author
|
Matrix TSL
|
Version
|
1.1
|
Category
|
Timing
|
Timer Interrupt component
A component for PC developer only. 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
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
|
|
|
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 interrup is triggered.
|
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Timer_Interrupt.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_Timer_Interrupt.fcsx