Inherits com.boschrexroth.mlpi.MlpiComponent.

Classes | |
| enum | WatchdogAction |
| enum | WatchdogState |
Public Member Functions | |
| native void | setup (int timeout, WatchdogAction action) |
| native void | start () |
| native void | stop () |
| native void | reset () |
| native WatchdogState | getState () |
Class definition of the WatchdogLib.
Using the Watchdog library, you can establish a mechanism between your application and the firmware in order to react to exceptions or problems within your client program execution.
The following steps are necessary:
Definition at line 70 of file Watchdog.java.
| native void com.boschrexroth.mlpi.Watchdog.setup | ( | int | timeout, |
| WatchdogAction | action | ||
| ) |
This method starts the watchdog supervision.
| [in] | timeout | The timeout of the watchdog in ms. The timeout is checked every millisecond. |
| [in] | action | The action that will be executed in case the watchdog expires. |
mlpiWatchdogSetup, where you can find further documentation. | native void com.boschrexroth.mlpi.Watchdog.start | ( | ) |
This method starts the watchdog supervision.
mlpiWatchdogStart, where you can find further documentation. | native void com.boschrexroth.mlpi.Watchdog.stop | ( | ) |
This method stops the watchdog supervision.
mlpiWatchdogStop, where you can find further documentation. | native void com.boschrexroth.mlpi.Watchdog.reset | ( | ) |
This method resets the watchdog. Has to be called in an interval which is shorter than the timeout that has been specified in setup method.
mlpiWatchdogReset, where you can find further documentation. | native WatchdogState com.boschrexroth.mlpi.Watchdog.getState | ( | ) |
This method returns the current state of the watchdog. After expiring, the state will indicate that the watchdog has expired until it is started again.
mlpiWatchdogGetState, where you can find further documentation.