Download Print this page

Hitachi HF-BT1000 User Manual page 91

Advertisement

6. LIBRARY FUNCTIONS
NOTE
• If you want to stop monitoring using the watchdog timer when a user program
exits or due to shutdown, you must stop the watchdog timer so that a timeout
does not occur.
• If you select "Reset" or "Memory dump" for Action at timeout under
Watchdog timer setting in the RAS Setup window, the time it takes to
generate timeout is longer than the timeout value set by the application. This
is a correct operation.
This situation occurs because it takes about 1.2 to 1.3 seconds for the
hardware timer on this equipment to actually enable the timeout setting set by
the application. If the timeout is set to 30 seconds, reset or memory dump
starts about 31 seconds after the timeout is set.
<Diagnosis>
If this function completes successfully, the function returns TRUE. If this function terminates with
an error, the function returns FALSE.
When this function terminates with an error, call the GetLastError Windows API function to get
the error code. Error codes returned by this function on its own are as follows.
Error code (value)
HFB_INVALID_PARAMETER
(0x2001)
HFB_WDT_NONMANUAL
(0x2002)
HFB_NOT_INITIALIZE
(0x2005)
HFB_INTERNAL_ERROR
(0x2007)
Other error codes come from the Windows API functions used by this function. For details about
those error codes, refer to the Windows API help.
<Sample program>
We provide a sample program that uses this function in C. For information about the name of the
sample program and where you can find it, see "6.2 Sample Programs".
For information about how to monitor the operational state of a user program using the watchdog
timer, see "2.7.2 Using a watchdog timer for monitoring a user program".
Description
There is an error in the specified parameters.
This function cannot be used because Retriggered by
application program is not selected under Watchdog
timer setting in the RAS Setup window.
Startup of the RAS software has not completed yet.
An internal error has been generated.
6-4

Advertisement

loading