Doc. # 1-0000458 | |||
---|---|---|---|
Date Updated | 09-24-2004 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | NT4.0/ Win95/ Win98 |
Related Product |
How to use Watchdog in NT4.0 and Win95/98 | |||
---|---|---|---|
Solution:
To enable the watchdog timer for most Advantech CPU Cards, you must write a
program which writes I/O port address 443 (HEX) at a regular intervals. The
output data is a timer value. You can write from 01(HEX) to 3C(HEX), and the
related timer is 1 second to 60 seconds.
(1)Please use Advantech 32-bit DLL Driver for Windows 95 or Windows NT and
Install device through Device Installation to setup the HEX 43 and HEX 443
devices.
(2)Output DataValue to HEX 443 to start/reset the watchdog timer.
ErrCde = DRV_outp(1, HEX443, DataValue)
(3)Output DataValue to HEX 443 to disable the watchdog timer.
ErrCde = DRV_inp(0, HEX43, DataValue)
New Device Installation Utility for Windows NT and 95.
(After you finish the driver installation, you should run Device Installation
(DEVINST.EXE) under Advantech Driver for NT (for Windows NT) / Advantech Driver
for 95 folder to setup supported devices. Please refer to DEVINST.HLP for more
information.)
|