97
PC Watchdog Timer API
Section A-7
A-7
PC Watchdog Timer API
A-7-1
CPNT_EnablePCWDTTimer (Enable PC WDT)
Purpose
Enable or disable the PC Watchdog Timer.
Call Format
BOOL CPNT_EnablePCWDTTimer (
HANDLE Handle,
WORD Timer
) ;
Argument
Returned value
It returns TRUE when the function succeeds.
It returns FALSE when an error occurs. The error details can be obtained with
the function GetLastError.
Remarks
See Section 4-7 for the PC WDT function.
A-7-2
CPNT_RefreshPCWDTTimer (Refresh PC WDT)
Purpose
Refresh the PC Watchdog Timer value.
Call Format
BOOL CPNT_RefreshPCWDTTimer (HANDLE Handle) ;
Argument
Returned value
It returns TRUE when the function succeeds.
It returns FALSE when an error occurs. The error details can be obtained with
the function GetLastError.
Remarks
•
When the PC WDT function is in use, execute this function to refresh the
timer value within a value smaller than the set timer value. If the timer is out
without refreshing, the communications cycle stops.
•
See Section 4-7 for the PC WDT function.
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
WORD
Timer
IN
Monitoring time:
0x0: Disabled the PC WDT.
0x1 to 0xFFFF(1 to 65535):
Enabled the PC WDT.
Monitoring time = The value written
on the left x 10 ms
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
Содержание 3G8F7-CRM21
Страница 4: ...iv...
Страница 10: ...x TABLE OF CONTENTS...
Страница 30: ...10 Specifications Section 1 7 1 7 3 Dimensions 3G8F7 CRM21 PCI unit mm 3G8F8 CRM21 CompactPCI unit mm...
Страница 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Страница 74: ...54 Board Hardware Error Notification Section 4 8...
Страница 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Страница 230: ...210 Wiring for Power Supply Section E 5...
Страница 234: ...214 Index...
Страница 236: ...216 Revision History...
Страница 237: ......