VisSim/State Diagrams

State chart is a graphical representation of a finite-state machine, that is, a system with a defined number of states, where transition from one state to another occurs when certain conditions are met. You can create state charts anywhere within a VisSim diagram, and you can easily exchange data between the state chart and the continuous portion of a diagram. In addition, you can interactively simulate the state chart diagram or generate code to be run on an embedded target. The continuous portion of the VisSim diagram can control state chart execution with triggers.


In VisSim the state transition block models and simulates complex event-driven systems. A system can be in a number of states, and for every state, you can have an arbitrary number of rules, or conditions. The Boolean rules determine when to transition from one state to the next.