Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Memory Control Structure and Functions

LabVIEW 2009 Help

Edition Date: June 2009

Part Number: 371361F-01

»View Product Info

Owning Palette: Application Control VIs and Functions

Requires: 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 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.
Array Split / Replace SubarraysSplit an array into subarrays along a dimension you specify and operate on the subarrays in place within the structure. Right-click the border of an In Place Element structure and select the Add Array Split / Replace Subarrays option from the shortcut menu to place this border node on the In Place Element structure.
Data Value Reference Read / Write ElementAccepts a data value reference as an input, allows you to operate on the data within the In Place Element structure, and replaces that data in the original memory space. Right-click the border of an In Place Element structure and select Add Data Value Reference Read / Write Element from the shortcut menu to place this border node on the In Place Element structure. You cannot find these border nodes in the palette search or quick drop search.
Delete Data Value ReferenceReturns the data the reference points to and then deletes the data value reference.
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.
New Data Value ReferenceCreates a reference to data that you can use to transfer and access the data in a serialized way.
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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit