Appendix B
Watchdog Timer Programming
B-4
ni.com
•
nOutBufferSize
: unused
IOCTL_WDT_SETTIMEOUT
Sets the watchdog time setting.
•
lpInBuffer
: The DWORD pointer to your watchdog time setting.
The watchdog time settings are:
•
nInBufferSize
: unused
•
lpOutBuffer
: unused
•
nOutBufferSize
: unused
IOCTL_WDT_REBOOT
If you want your application to trigger the watchdog, use
IOCTL_WDT_REBOOT to notify the watchdog driver timer (WDT).
Otherwise, the WDT triggers itself automatically.
•
lpInBuffer
: unused
•
nInBufferSize
: unused
•
lpOutBuffer
: unused
•
nOutBufferSize
: unused
4
30 s
Other
40 s
Setting
Time
0
2 s
1 (default)
5 s (default)
2
10 s
3
15 s
4
30 s
Other
40 s
Setting
Time