Miapi Watchdog Setconfig Description; Miapi Watchdog Getrange Description - Contec IPC Series User Manual

Panel-pc
Hide thumbs Also See for IPC Series:
Table of Contents

Advertisement

◆MiAPI Watchdog SetConfig Description

Set watchdog timer with specified timeout value and define the action to reboot or trigger
a WD_TIME pin when expired.
Int MiAPI_Watchdog_SetConfig (DWORD Timeout, BOOL Reboot)
Timeout
Reboot
MiAPI_OK (0x00)
MiAPI_WDT_SET_FAIL (0x22)
Remarks
-
Before starting watchdog, it must specify the watchdog timeout to expire and the behavior when it expires.
The default timeout is 4 seconds, and reboot is false.

◆MiAPI Watchdog GetRange Description

Get the minimum, maximum and current values of the watchdog timer.
int MiAPI_Watchdog_GetRange(DWORD *min, DWORD *max, DWORD *cur)
min
max
cur
MiAPI_OK (0x00)
MiAPI_NOT_SUPPORT (0x02)
94
Parameters
[in]
Specifies a value in seconds for the watchdog timeout.
[in]
True to reboot system when expired; False to trigger a
low pulse on MiAPI WD_TIME pin.
Return Value
Parameters
[out]
Pointer to a variable containing the
minimum timeout value in seconds.
[out]
Pointer to a variable containing the
maximum timeout value in seconds.
[out]
Pointer to a variable containing the current count
of the timer in seconds.
Return Value
PT-S2000HX/HXC/LX/LXC Series User's Manual
Success
Fail
Success
Watchdog doesn't support.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IPC Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents