6. LIBRARY FUNCTIONS
6-4
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)
Description
HFB_INVALID_PARAMETER
(0x2001)
There is an error in the specified parameters.
HFB_WDT_NONMANUAL
(0x2002)
This function cannot be used because
Retriggered by
application program
is not selected under
Watchdog
timer setting
in the
RAS Setup
window.
HFB_NOT_INITIALIZE
(0x2005)
Startup of the RAS software has not completed yet.
HFB_INTERNAL_ERROR
(0x2007)
An internal error has been generated.
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”.
Содержание HF-BT1000
Страница 1: ...BT 63 0004 01 ...
Страница 2: ...BT 63 0004 01 ...
Страница 15: ...This Page Intentionally Left Blank ...
Страница 79: ...This Page Intentionally Left Blank ...
Страница 103: ...This Page Intentionally Left Blank ...
Страница 111: ...This Page Intentionally Left Blank ...
Страница 127: ...This Page Intentionally Left Blank ...
Страница 129: ...This Page Intentionally Left Blank ...