man1/AutoWait

Table of Contents

Name

AutoWait - wait for a parameter to achieve a value

Synopsis

AutoWait <dbman_host> <label> <refname> <state> <tries>

Description

This program polls dbman for the value of the datapoint indicated by label and refname until the datapoint reaches the value of state or until tries is reached. The polling takes place at one second intervals.

Arguments

dbman_host

The host where dbman is running.
label refname

An AccelNET Label-RefName pair.
state

An integer value indicating the desired state.
tries

The number of attempts to poll.

Return Codes


0 is returned if datapoint reached the desired value
1 is returned if datapoint never reached the desired value

Examples

AutoWait csdev1 "MCS S1-1" "CatNumR " 12 10

Manual Page Revision

$Id: AutoWait.1,v 1.1 2001/09/19 16:02:15 kitchen Exp $


Table of Contents