| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (30 out of 30)

update

This action updates display items and variables.

Updating a Display Item

To update an item:

A display item can be a chart, a dial, a freeform table, a graph, a meter, or a readout table.

Graphs are a superseded capability. For more information see Appendix F, Superseded Practices.

When G2 executes the update action, the item is updated programmatically. The update action is the only means of updating charts. An example is:


This example changes the status of every gas-tank to new-level, and directly updates every readout table on the gas-tanks-filling workspace.

Updating a Variable

To update a variable:

This action updates the variable you specify. The update action causes G2 to data seek for a new variable value, even if it already has a current value.

Using the update action for a variable with an unsolvable formula causes G2 to retry continuously to obtain a variable value after failure once the action is invoked. Such behavior can adversely affect KB performance. To avoid constant retries from occurring, make appropriate adjustments to the Timeout-for-variables and the Retry-interval-after-timeout attributes of the Inference Engine Parameters system table.

| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (30 out of 30)

Copyright © 1997 Gensym Corporation, Inc.