© National Instruments Corporation 11 Getting Started with the LabVIEW Real-Time Module
Optimizing the Control Application
Now that you have created a basic application, you can optimize the control
application. Complete the following additional tasks to experiment with
deterministic programming techniques.
• Optimize the time-critical VI further by moving all front panel control
and indicator references from the time-critical loop VI to the host
computer VI using the Real-Time FIFOs VIs and network
communication. You can use the RT Communication Wizard to move
all front panel controls and indicators out of a time-critical VI. Refer
to Chapter 3, Building Deterministic Applications, of the LabVIEW
Real-Time Module User Manual for information about using the
RT Communication Wizard.
• Optimize the data acquisition. Other data acquisition VIs offer better
performance for real-time applications. You can use hardware timing
to validate that the control loop is behaving deterministically. Refer to
the NI-DAQmx Help for information about timing control loops using
the DAQmx - Data Acquisition VIs. Refer to the LabVIEW Real-Time
Module User Manual for information about optimizing VIs for
deterministic performance.
• Use different control algorithms. The PID Control Toolset, which
contains many different control algorithms, installs with the Real-Time
Module. In this exercise, you used the PID VI, but you can use the
other control VIs available in the toolset.