From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi-channel PID Control with Operator Interface on CompactRIO

Functional Description

This reference example includes a recommended architecture for performing low channel count multi-channel PID control on CompactRIO using scan mode.

The project includes an embedded control (RT) application that runs on the cRIO controller and an HMI or operator interface (host) application that runs on a desktop or touch panel computer and communicates with the controller.

The application performs PID control on 4 temperature process variables. The status of each channel can be viewed on the operator interface and and shared variables are used to update setpoints, PID gains, and output limits on the controller.

UI.png

*This example uses the ni.com style controls from the UI Interest Group

The embedded control application, that runs on the cRIO controller, has two modes: idle and control enabled. This allows the application to be deployed as a start up application that simply sits idle, until the operator interface (host) applicaiton connects to it, sets the control parameters and enables the control process.

Optionally, the control process will also return to an idle state if the network connection with the host is lost.

Caveats and Additional Notes

This example requires LabVIEW Real-Time 8.6

View the CompactRIO Developer's Guide for additional development guidlines and reference architectures.

Download the example directly here or view the original document.

0 Kudos
Message 1 of 1
(8,452 Views)