man1/AutoWait2

Table of Contents

Name

AutoWait2 - wait for a parameter to achieve a value

Synopsis

AutoWait2 <dbman_host> <label> <refname> <state> <tmo>

Description

This program subscribes to the datapoint indicated by label and refname. It processes messages from dbman until the datapoint reaches the value of state or until tmo seconds is reached.

Arguments

dbman_host

The host where dbman is running.
label refname

An AccelNET Label-RefName pair.
state

An integer value indicating the desired state.
tmo

The number of seconds to wait until exiting if there isn’t a match.

Return Codes


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

Examples

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

Manual page revision

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


Table of Contents