Hitachi HF-W7500 40 Manual page 110

Industrial computer, ras features
Table of Contents

Advertisement

If dwCmd is WDT_STAT, the remaining time (in seconds) at the timing of the function
call until the watchdog timer expires is stored to the variable pointed by pdwCount. If the
value of the variable pointed by pdwCount is 0 when the function returns, that means the
watchdog timer has already timed out.
Note that the value of the variable pointed by pdwCount when the function is called is
ignored.
<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)
W2KRAS_INVALID_PARAMETER
(0x2001)
W2KRAS_WDT_NONMANUAL
(0x2002)
W2KRAS_NOT_INITIALIZE
(0x2005)
W2KRAS_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-5
6. LIBRARY FUNCTIONS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents