The Simple State Machine template facilitates defining the execution sequence for sections of code. This particular implementation often is referred to as a Moore machine, which determines the next state based on decisions made in the current state. The design of this template makes it easy to insert new sections of code, remove sections of code, or change the order in which sections execute – all without making major modifications to the structure of the application.
LabVIEW provides a template of this architecture for you to build your State Machine. Read through Application Design Patterns: State Machines to learn about State Machines in LabVIEW, common terminology, and what steps to complete before creating a State Machine. Once you familiarize yourself with the architecture, this tutorial walks through how to update the State Machine template to fit your needs.
This tutorial presents information on an advanced LabVIEW architecture and requires you to have knowledge of basic programming practices.