Jump to content

Arrays and Strings in Loops: Difference between revisions

From LabVIEW Wiki
Created page with "'''Arrays and Strings in Loops''' is a VI Analyzer test installed by the LabVIEW VI Analyzer Toolkit add-on. It checks for loops and while loops and reports er..."
(No difference)

Revision as of 08:15, 19 August 2024

Arrays and Strings in Loops is a VI Analyzer test installed by the LabVIEW VI Analyzer Toolkit add-on. It checks for loops and while loops and reports errors if they contain Build Array or Concatenate Strings functions.

Explanation

Build Array and Concatenate Strings functions should be avoided in loops because the array or string must be dynamically resized on every iteration, which increases memory and CPU usage.

Limitations

This test does not check timed loops.