Arrays and Strings in Loops: Difference between revisions
Appearance
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..." |
m Add infobox |
||
| Line 1: | Line 1: | ||
{{LabVIEW VI Analyzer Toolkit Infobox|tree-category=block diagram|tree-subcategory=performance}} | |||
'''Arrays and Strings in Loops''' is a [[VI Analyzer]] test installed by the [[LabVIEW VI Analyzer Toolkit]] add-on. It checks [[for loop]]s and [[while loop]]s and reports errors if they contain [[Build Array]] or [[Concatenate Strings]] functions. | '''Arrays and Strings in Loops''' is a [[VI Analyzer]] test installed by the [[LabVIEW VI Analyzer Toolkit]] add-on. It checks [[for loop]]s and [[while loop]]s and reports errors if they contain [[Build Array]] or [[Concatenate Strings]] functions. | ||
Revision as of 06:37, 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.