Patent ID: 8868399

Claim:
A non-transitory computer-readable medium storing instructions, the instructions comprising: one or more instructions which, when executed by a processor, cause the processor to: identify one or more timer-related operations performed by a plurality of blocks of an executable graphical model in a graphical diagram environment; identify a timer in the executable graphical model based on the one or more timer-related operations; identify, based on the identified timer, a characteristic associated with the timer, the one or more instructions to identify the characteristic associated with the timer including: one or more instructions to determine if the timer is a first type of timer or a second type of timer, the first type of timer being different than the second type of timer; determine, based on the identified characteristic associated with the timer, if a timer value is available outside the timer; selectively modify, based on determining if the timer value is available outside the timer, the timer, the one or more instructions to selectively modify the timer including: one or more instructions to convert, when the timer is the first type of timer, the timer from the first type of timer to the second type of timer when the timer value should be available outside the timer; or one or more instructions to convert, when the timer is the second type of timer, the timer from the second type of timer to the first type of timer when the timer value should not be available outside the timer; and incorporate the modified timer into the executable graphical model.