Improve LabVIEW Real-Time Application Resource Use or Performance Speed

Updated Aug 7, 2023

Reported In

Software

  • LabVIEW Real-Time Module

Issue Details

My LabVIEW Real-Time application is running slower than expected, or running out of available memory for my application. I would like to optimize my code to run faster and use few resources. What are some resources that can help me get started?

Solution

There are several resources that describe how to optimize LabVIEW Applications and LabVIEW Real-Time (RT) applications for both performance speed as well as decreasing required resources.
  • This KnowledgeBase article on LabVIEW Buffer Allocation contains information on when and where LabVIEW allocates new buffers which could affect performance for large structures such as arrays, strings, and clusters. 
  • Best Practices for Target File IO with LabVIEW Real-Time  explains considerations for using file IO in a Real-Time system and shows how to optimize the use of file IO in a LabVIEW RT OS. 
  • This LabVIEW help page on VI Memory Usage contains some guidelines to consider when creating a VI relating to memory use.