4 functions and demo programs – Measurement Computing CB-7000 Utilities User Manual
Page 31

27
3.4
Functions and Demo Programs
There are several functions provided for Watchdog security. For det ailed information of these
functions, please refer to user manual of NAP7000P. These functions are listed as following:
HostIsOK:
To signal modules "Host is OK", send "~**".
ReadModuleResetStatus:
To read the module reset status.
ToSetupHostWatchdog:
To setup the module's Host Watchdog.
ToReadHostWatchdog
:
To read the module's Host Watchdog setup values
.
ReadModuleHostWatchdogStatus: To read the module's Host Watchdog status
.
ResetModuleHostWatchdogStatus: Reset the module's Host Watchdog status.
SetSafeValueForDo:
To setup the safe value for DO modules.
SetPowerOnValueForDo: To setup the power on value for DO modules.
SetSafeValueForAo:
To setup the safe value for AO modules
.
SetPowerOnValueForAo: To setup the power on value for AO modules
.
SetPowerOnSafeValue:
To setup the power on and safe value for modules.
There are some Demo Programs for the Watchdog demo. They are written in VB, Delphi, BCB
computer languages, and placed in the demo folders of these languages. These demo programs
are as follows:
SafeAI:
Host Watchdog and Safe value demo for analog input modules.
SafeAO:
Host Watchdog and Safe value demo for analog output modules.
SafeDO:
Host Watchdog and Safe value demo for digital output modules.
Watchdog:
Host Watchdog and Module Watchdog demo.
The user can find these functions and Demo Programs in
NAP7000P version 3.3
. Please
contact us to get the detailed information about NAP7000P software package.
Descriptions of Watchdog Demo
Platform:
Windows 95/98/NT
Software :
NAP7000P v3.30 (or above)
Demo Program:
NAP7000P\Demo\Delphi\Watchdog\Project1.dpr
NAP7000P\Demo\BCB\Watchdog\Project1.bpr
NAP7000P\Demo\VB\Watchdog\Project1.vbp
Modules:
7520 x 1 (RS-232 / RS-485)
70xx x 1 (recommend to use a output module)
Module Configuration:
Baud rate:
9600
Checksum:
disable
Address:
0x01
This program demonstrates the following features:
Host Watchdog.