57
Appendix C
// Set the Watchdog Timer as 10 seconds. Number 2 means 10 seconds.
DeviceIoControl(m_hWDT, IOCTL_WDT_SET_TIMEOUT, &nIndex,
sizeof(nIndex), NULL, 0, &dwTemp, NULL);
// Enable the Watchdog timer
DeviceIoControl(m_hWDT, IOCTL_WDT_ENABLE, NULL, 0, NULL,
0, &dwTemp, NULL);
While (1) {
// do your job here.
Sleep(8000);
DeviceIoControl(m_hWDT, IOCTL_WDT_STROBE, NULL,0,
NULL, 0, &dwTemp, NULL);
}
DeviceIoControl(m_hWDT, IOCTL_WDT_DISABLE, NULL, , NULL,
0, &dwTemp, NULL);
CloseHandle(m_hWDT);
Summary of Contents for TPC-1260G
Page 12: ...TPC 1260G User Manual xii...
Page 19: ...7 Chapter1 1 8 Exploded Diagrams Figure 1 3 Exploded LCD Diagram...
Page 22: ...TPC 1260G User Manual 10...
Page 23: ...2 CHAPTER 2 System Setup This chapter provides a brief explana tion for operating TPC 1260G...
Page 27: ...15 Chapter2 Figure 2 5 Touch Screen Calibration 1 Figure 2 6 Touch Screen Calibration 2...
Page 28: ...TPC 1260G User Manual 16...
Page 29: ...2 CHAPTER 3 System Engine...
Page 57: ...2 APPENDIX A Serial Port Settings...
Page 59: ...47 AppendixA Figure A 1 Device Manager Figure A 2 COM5 Properties...
Page 60: ...TPC 1260G User Manual 48...
Page 61: ...2 APPENDIX B Fuse Specifications...
Page 63: ...2 APPENDIX C Watchdog Timer Programming...
Page 70: ...TPC 1260G User Manual 58...