| Prev | Next | Start of Chapter | End of Chapter | Contents | Index | (6 out of 12)

Specifying Initial Values

Certain blocks let you specify which value they pass when you first start G2 or when you reset the block. This value is called the initial value of the block. In blocks that pass data values, you specify the value in the attribute Value on Initialization. In blocks that pass inference values, you specify the value in the attribute Status on Initialization.

Blocks that define these attributes pass initial values even if data input is not enabled.

Specifying an Initial Data Value

You can set the initial value for certain blocks that pass data values. You can also set the initial value for numeric, text, and symbolic entry points.

To set the initial value for data blocks:

Specifying an Initial Control Value

The Control Entry Point lets you specify how many control signals it passes when you first start G2 or reset the block.

To specify the number of control signals to send:

The Control Entry Block is the only Action block with this attribute.

Specifying an Initial Status Value

You can set the initial value for certain blocks that pass inference values. You can also set the initial value for Belief Entry Points.

To set the initial value for an inference block:

| Prev | Next | Start of Chapter | End of Chapter | Contents | Index | (6 out of 12)

Copyright © 1996, Gensym Corporation, Inc.