Appendix B
Watchdog Timer Programming
TPC-2006 User Manual
B-4
ni.com
•
nOutBufferSize
: unused
IOCTL_WDT_SETTIMEOUT
Sets the watchdog time setting.
•
lpInBuffer
: The DWORD points 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
5
45 s
6
60 s
Setting
Time
0
2 s
1 (default)
5 s (default)
2
10 s
3
15 s
4
30 s
5
45 s
6
60 s
Setting
Time
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com