State

LabVIEW 2010 Statechart Module Help

Edition Date: June 2013

Part Number: 372103F-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Statechart Development Objects

Requires: Statechart Module

Defines a state, which is a unique condition in which the statechart can be.

You must place all states within a region. All states must have at least one incoming transition.

For example, a light bulb connected to a circuit might have two states, ON and OFF. In the ON state, the circuit provides power to the light bulb. In the OFF state, the circuit does not provide power to the light bulb.

In the previous figure, the inner border (1) is where you click to create transitions between states. The outer border (2) is where you click to manipulate the state on the statechart diagram. For example, you can press the <Ctrl> key and click and drag this border to duplicate a state.

For each state, you can define several types of actions that modify output and state data. The valid types of actions include entry actions, exit actions, and static reactions.

You can place states within only a region. Because you can place regions within states, you can use regions to create hierarchical superstates and substates.

Within a region, each state must have a unique name. The statechart can be in one state in a region at a time.

WAS THIS ARTICLE HELPFUL?

Not Helpful