Overview
This example is an object oriented state machine. Each state is a class and state transition is handled by the state itself.
Description
This code is an object oriented state machine. Each state is a class and state transition is handled by the state itself. The class 'StateMachine' is a holder class for the states and executes the current state (class). This particular implementation runs each state for a certain amount of time and then changes to the next state.
Requirements
LabVIEW 2012(or compatible)
Steps to Implement or Execute Code
- Run the vi.
Additional Information or References
State transition graph:

Front Panel

**This document has been updated to meet the current required format for the NI Code Exchange.**