Changing The I/O Port Address; Disk Caching - B&B Electronics PC Watchdog Timer Card ATRWDT User Manual

Pc watchdog timer card
Table of Contents

Advertisement

In Borland C++, a program using the watchdog timer must
include PCWDT.H and PCWDT16.LIB in the project to use the
watchdog timer commands. The example program uses Borland's
EasyWin to demonstrate the use of the DLL functions. A Borland
C++ project file is included to make it easier to recompile the
example program.

Changing the I/O Port Address

The I/O port address that the software uses to communicate with
the watchdog timer is stored in the file, PCWDT.INI, located in the
Windows directory. Use NOTEPAD to open this file and change the
values for the parameter IoPortAddress. The default value for
IoPortAddress is 0x0200 (hexadecimal 200). This value must
match the settings of the jumper switches on the watchdog timer.
The format of the PCWDT.INI file is:
[Parameters]
IoPortAddress=0x0200
IoPortCount=0x0001
Currently the value of IoPortCount is ignored, but may be used in
future versions of this software, so it should not be changed. These
changes take effect immediately when they are saved; however, if
the program that uses the watchdog timer is running at the time of
the change, the changes will not recognize until the program is
restarted. There is no need to reboot the computer for the changes
to take effect.

Disk Caching

If you are using SmartDrive, or any other disk caching software,
with write behind caching enabled, you may lose all data in the write
behind cache by rebooting the computer with the watchdog timer.
Disable the write behind cache before running an application that
uses the watchdog timer to reboot the computer.
Documentation Number ATxWDT-1303
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pc watchdog timer card atxwdtAtrwdtAtxwdt

Table of Contents