Arrays and Strings in Loops
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.
This article is a stub. You can help LabVIEW Wiki by expanding it. Please improve this article if you can. |