Table of Contents

Name

WDtask - CAMAC watchdog timer module I/O service

Synopsis

WDtask <argument list>

Description

Watchdog/timer I/O service for CAMAC.

This program supports a Kinetic Systems KSC3792 CAMAC module.

When running it writes an update message to the module to prevent it from timing out. The tmo update message is written every 3 seconds.

The module initialization commands are written every 60 seconds. This allows the program to reinitialize the module if the crate is switched off/on.

If the program detects bad I/O status OR the value of the 3792’s status register changes, i.e. power fail or timeout is detected a message is written to stderr.

Arguments

Argument processing is done using Unix long argument syntax

The value of all the parameters listed here (whether or not they were supplied on command line) are printed on stderr when the program starts.

--dbman_host <hn>

The host where dbman is running. If this argument is not supplied the default is "localhost".
--dev <device>

The pathname of the device to open. If this argument is not supplied the default is "/dev/camac".
--drv <drv>

The driver key to use. If this argument is not supplied the default is "CAMAC".
--cmin <C>

The minimum crate number. If this argument is not supplied the default is "1".
--cmax <C>

The maximum crate number. If this argument is not supplied the default is "99".
--help

Prints a help message and exits.

Module Jumper Settings

The Timeout Period Select jumper should be set to the 10 second position.

The BUSY-XEQ jumper should be set to the XEQ position. This causes the module’s timer to be reset by commands sent by WDtask.

If this jumper is set to the BUSY position (the factory default) then any I/O to the crate will reset the timer. This may be OK, however, XEQ is the prefered settting.

The INH jumper should be set to the INH position to allow the module to control the dataway inhibit line. This is necessary if the module is to be used to control a KSC3075 module.

The TONE jumpers for power fail and timeout should probably be set to the no TONE position to prevent the annoying beeper in the module from sounding.

Device Types used by this program

Dev3792

Examples

#
# this example services crates 1 thru 4
# dbman is running on the same host
#
WDtask --cmax 4

Manual page revision

$Id: WDtask.8,v 1.6 2007/07/12 16:47:05 mcnamer Exp $


Table of Contents