Array Default Values

From LabVIEW Wiki
Jump to: navigation, search
Array Default Values

Array Default Values is a VI Analyzer test installed by the LabVIEW VI Analyzer Toolkit add-on. It checks charts, graphs, arrays, sets, and maps on a front panel for empty default values.

Explanation

Saving non-empty default values inside these controls uses memory unnecessarily. When the VI runs, it overwrites values wired to indicators on the block diagram. If the VI is used as a subVI, the VI overwrites values wired to controls connected to the connector pane.

Limitations

This test will not check graphs and charts that are not array datatypes (this includes scalar Waveform Charts and Digital Waveform Graphs). It also ignores fixed-size arrays.