Most blocks contain a number of attributes that you can configure to specify the particular behavior of the block. All attributes have default values so that, by default, most blocks can evaluate without being configured. However, you typically will want to configure all blocks as part of creating a diagram. Some simple blocks do not have any configurable attributes.
The two ways of configuring the attributes of blocks are:
To configure the attributes of a block through its configuration panel:
configure from the block's menu.
configure does not appear as a menu choice for the block.
|
To enter a value in an edit box:
When you enter text strings in a configuration panel, you do not need to enter quote marks; NOL handles this internally for you. The only time you need to enter quote marks in a configuration panel is when entering an expression, as described in "Evaluating Expressions in Attributes".
Some blocks allow you to edit attribute values via attribute displays, for example,
the Threshold attribute for the High Value observation block. Note that NOL does
not perform validation on values entered via attribute displays.
To select a new value by using a radio button:
Click on the desired button.
To display a child dialog:
Click on the button within the configuration panel.
Editing Attribute Displays
Some blocks display attribute values with the icon, which you can edit directly.
For example, many observation blocks display the Threshold attribute with the
icon. To edit the attribute, simply click on the attribute display and enter a new
value.
To configure the attribute of a block by editing its attribute display:
Click on the attribute display next to the block, and enter a new value in the
type-in area that appears.
|
| Prev
| Next | Start of Chapter | End of Chapter | Contents | Index | (8 out of 14)
Copyright © 1996, Gensym Corporation, Inc.