Defining multiple loops running at different rates – National Instruments NI-FBUS User Manual

Page 41

Advertising
background image

Chapter 2

Using the NI-FBUS Configurator

NI-FBUS Configurator User Manual

2-18

ni.com

Defining Multiple Loops Running at Different Rates

The loop execution time shown on the Function Block Application Editor
toolbar is the default execution time for all function blocks on the window
not isolated in a loop structure. You can use the loop structure to isolate a
group of function blocks to run at a different execution rate than the rate on
the Function Block Application Editor toolbar.

For example, in the following figure, the AI and PID blocks to the left are
one loop and execute at a rate of once every second, as shown in the toolbar.
The AI-PID-AO loop to the right executes once every 500 ms, as shown at
the top of the loop structure.

Advertising