The Machine Control Primer provides an overview of one architecture you can use to build control applications on NI CompactRIO controllers running the NI LabVIEW Real-Time Module Version 8.6 or later. It explains how you can use new features for CompactRIO – such as the Scan Engine, Fault Engine, and Distributed System Manager – that were introduced in LabVIEW 8.6 and is designed to provide a framework for engineers designing industrial control applications, especially engineers who are familiar with the use of programmable logic controllers (PLCs). It is intended as a complementary guide to standard LabVIEW Real-Time training and includes architectural overviews, LabVIEW coding recommendations, and example code.
Download the NI Primer for Machine Control

1. Contents of the Control Primer include:
- Machine Control Architecture Overview
- Introduction to CompactRIO
- Basic Controller Architecture Background
- Basic Controller Architecture Example in LabVIEW
- State-Based Designs
- LabVIEW Statechart Module
- Statechart Example in LabVIEW
- Quick Start – Modifying an Example
- Reusable Functions
- Multiple Tasks
- Errors and Faults
- Example Code
Additional Resources
Explore Additional NI CompactRIO Resources
Browse LabVIEW for Industrial Control