![background image](http://html1.mh-extra.com/html/national-instruments/tpc2106t/tpc2106t_user-manual_3461125031.webp)
Appendix B
Watchdog Timer Programming
©
National Instruments Corporation
B-3
•
lpOutBuffer
: unused
•
nOutBufferSize
: unused
IOCTL _WDT_DISABLE
Disables the application watchdog timer.
•
lpInBuffer
: unused
•
nInBufferSize
: unused
•
lpOutBuffer
: unused
•
nOutBufferSize
: unused
IOCTL_WDT_STROBE
Triggers the watchdog. If your application uses IOCTL_WDT_ENABLE
to enable the watchdog first and then sends IOCTL_WDT_REBOOT to the
WDT driver, your application must trigger the watchdog once during the
watchdog timer period. If your application has not triggered at the specified
period, the device reboots automatically.
•
lpInBuffer
: unused
•
nInBufferSize
: unused
•
lpOutBuffer
: unused
•
nOutBufferSize
: unused
IOCTL_WDT_GETTIMEOUT
Gets the watchdog time setting.
•
lpInBuffer
: unused
•
nInBufferSize
: unused
•
lpOutBuffer
: The DWORD pointer to your watchdog time setting.
The watchdog time settings are:
Setting
Time
0
2 s
1 (default)
5 s (default)
2
10 s
3
15 s