Jump to content

Arrays and Strings in Loops: Difference between revisions

From LabVIEW Wiki
m Add infobox
m Mark as stub
 
Line 8: Line 8:
==Limitations==
==Limitations==
This test does not check [[timed loop]]s.
This test does not check [[timed loop]]s.
{{stub}}


[[Category:VI Analyzer Tests]]
[[Category:VI Analyzer Tests]]
[[Category:LabVIEW VI Analyzer Toolkit]]
[[Category:LabVIEW VI Analyzer Toolkit]]

Latest revision as of 06:59, 20 August 2024

Arrays and Strings in Loops

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.