Example Code

State Machine With Emergency Button

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

This example shows how to implement the logic for an emergency stop in LabVIEW 2022 Q3 using a State Machine design pattern.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.