| Prev
| Next | Start of Chapter | End of Chapter | Contents | Index | (18 out of 25)
Data Inhibit
|
The Data Inhibit block lets an inference path turn a data path on and off.
When the status value of the block's input inference path matches the value of the
attribute Trigger On, the block inhibits the input data value. If Value on Initialization has a value, it passes that value. Otherwise it passes nothing.
When the status value of the inference path no longer matches Trigger On, the
block passes the current value of the input data path and continues to pass input
data values normally.
If the block's inference path has not received a value yet (that is, it has a quality of
no-value), the block passes nothing even when it receives a value from its data
path.
NOL evaluates this block whenever the data path receives a new value or when
the data inference path changes to or from the Trigger On value.
Resetting
When you reset a Data Inhibit Block, the block does not pass a value until it
receives a value from its inference input path, even if it receives a value from its
input data path.
Configuring
This is the configuration panel for the Data Inhibit block.
|
Example
This figure shows a portion of a flow diagram that uses two Data Inhibit blocks to
test whether a tank is on before analyzing its temperature. Tank-1 is off and the
path that crosses through the middle of the Data Inhibit block is filled in to show
that it is inhibiting its input. Tank-2 is on and the middle of the Data Inhibit block
is empty to show that the block is passing along its input.
See Also
For more information on how to use this block, see the sections below.
| Prev
| Next | Start of Chapter | End of Chapter | Contents | Index | (18 out of 25)
Copyright © 1996, Gensym Corporation, Inc.