The Data Browser — in both the State Chart Properties dialog and the Submachine Properties dialog — lists the current variables and variable attributes for the state chart and submachine. You can add and delete variables, and update their attributes here.
To add and delete variables
There are several ways to add and delete variables.
• In Data Browser, use the and buttons. The changes you make are reflected in the connectors on the state chart block.
• Use the Edit > Add Connector and Edit > Remove Connector commands to add and remove variable connectors on the state chart block. The changes you make are reflected in the Data Browser.
To edit variables
• In the Data Browser, double-click the attribute to be changed.
• For Type, Scope, and Pin, a drop-down menu appears in which to choose an attribute value.
• For Name, Default Value, and Comment, a box surrounds the variable attribute indicating Edit mode. Enter the new attribute value and press ENTER.