To download NI software, including the products shown below, visit ni.com/downloads.
Hi all,
Here's a take on a sequence/state based execution engine for those who need to connect a sequence of states with timing and transition information to a set of outputs, such as controller setpoints, controller modes and direct outputs (open-loop). This example requires the Report Generation Toolkit, which is now included in LabVIEW Professional
This example also exist as a constantly evolving example in the LabQT LGPL Open Source library.
In the example detailed above the feedback controller runs a sequence of setpoints defined by a excel sheet. Each state transition is controlled by a minimum time, criterias for making the jump and to which state to jump.
In order to set up one sequenced setpoint execution one proceeds as the following.
Have fun experimenting with this framework and see if it can fit into your project. It is fairly heavy on LVOOP, so be prepared.
Br,
/Roger
Edit 1: Updated the example and added a path to the originating source library
Description-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.