EasyManua.ls Logo

Advantech TPC-1570H - How to Use the Control Code

Advantech TPC-1570H
106 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TPC-1570H User Manual 54
B.2 How to Use the Control Code
There are 6 control codes for the operation codes in the WDT driver.
IOCTL _WDT_ENABLE:
Enables the Watchdog timer on your application. By default, if the
Watchdog timer is enabled, the WDT driver will automatically trigger
itself after the specified period and your application does not need to trig-
ger the Watchdog timer in this situation.
lpInBuffer : unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
IOCTL _WDT_DISABLE:
Disables the Watchdog time on your application.
lpInBuffer : unsed.
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 will reboot automatically.
lpInBuffer: unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.

Table of Contents

Related product manuals