| Contents | Index |
On some units, you can program a watchdog to perform a system reboot when a programmable timeout occurs. The timeout interval can range from 1 to 255 seconds with one-second resolution, or from 1 to 255 minutes with one-minute resolution. When the timeout expires, an IRQ15 interrupt is asserted. With the Reboot upon expiration of watchdog parameter, you can specify that the system reboot at this time. At most, one block of this type can be included in any model.
xPC Target Library for Watchdog/MathWorks
From the list, select either seconds or minutes. These are the units for the time.
Enter a number between 1 and 255.
Select this check box to display an input port labeled R. A signal connected to this port resets the watchdog whenever its value exceeds 0.5.
Select this check box to reset the watchdog whenever there is keyboard activity.
Select this check box to reboot the unit when the watchdog timer expires. When the timeout expires, an IRQ15 interrupt is always asserted, regardless of the state of this check box. If you choose not to reboot the system when the watchdog timer expires, you might want to write your own procedure to handle the IRQ15 assertion.
Enter a base sample time or a multiple of the base sample time.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |