Memory Control Structure and Functions

LabView Memory Control

Memory Control Structure and Functions

Owning Palette: Application Control VIs and Functions

Installed With: Base Package. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Memory Control structures and functions to improve LabVIEW memory performance.

Palette ObjectDescription
Always CopyPlaces the value of the Input input into a new memory location and returns the value in Output. Use this function to control the outcome of the LabVIEW compiler buffer allocation process.
Array Index / Replace ElementsRight-click the border of an In Place Element structure and select the Add Array Index / Replace Elements option from the shortcut menu to place this border node on the In Place Element structure.
In Place Element StructureControls how the LabVIEW compiler performs certain operations and, in some cases, increases memory and VI efficiency. Use the In Place Element structure when you operate on a data element within an array, cluster, variant, or waveform without requiring the LabVIEW compiler to copy data values and maintain those values in memory. You also can use this structure to operate on any data type that you want to maintain within the same data space in memory. Right-click the border of the structure and select the border node that matches the operation you want to perform.
In Place In / Out ElementRight-click the border of an In Place Element structure and select the Add In Place In / Out Element option from the shortcut menu to place this border node on the In Place Element structure.
Request DeallocationDeallocates unused memory after the VI that contains this function runs.
Swap ValuesPlaces the value of the y input into the x' output and the value of the x input into the y' output without allocating memory to perform the operation.
Unbundle / Bundle ElementsRight-click the border of an In Place Element structure and select the Add Unbundle / Bundle Elements option from the shortcut menu to place this border node on the In Place Element structure.
Variant To / From ElementRight-click the border of an In Place Element structure and select the Add Variant To / From Element option from the shortcut menu to place this border node on the In Place Element structure.
Waveform Unbundle / Bundle ElementsRight-click the border of an In Place Element structure and select the Add Waveform Unbundle / Bundle Elements option from the shortcut menu to place this border node on the In Place Element structure.