Use the In Place Element structure to control how the LabVIEW compiler performs common operations, such as operating on an element of an array and placing the resulting value back into the same array index, and to increase memory and VI efficiency. Many LabVIEW operations require LabVIEW to copy and maintain data values in memory, thereby decreasing execution speed and increasing memory usage. The In Place Element structure performs common LabVIEW operations without LabVIEW making multiple copies of the data values in memory. Instead, the In Place Element structure operates on data elements in the same memory location and returns those elements to the same location in the array, cluster, variant, or waveform. Because LabVIEW returns the data elements to the same location in memory, the LabVIEW compiler does not have to make extra copies of the data in memory.
The In Place Element structure uses border nodes, or nodes that are attached to the border of the In Place Element structure, to perform operations on data. Right-click the border of the In Place Element structure and select the appropriate border node for the operation you want to perform. Each border node consists of a terminal on the left and right side of the structure. When you move or delete a border node, LabVIEW automatically moves or deletes the corresponding node on the opposite side of the structure. Select an element on the left side of the structure, operate on the element within the structure, and wire the resulting value to the right side of the structure to replace the value in the existing location.
The In Place Element structure can execute a variety of common LabVIEW operations more efficiently than traditional LabVIEW programming methods. The following block diagram shows a situation in which you can use the In Place Element structure to improve the execution and memory efficiency of a VI:

In the above example, LabVIEW indexes an array of 32-bit unsigned integers, increments the third element of the array, and replaces the element in the same location of the array. To replace the new value in the same array, the Replace Array Subset function requires you to wire the array and array index values to the array and index inputs of the function. When you run the above VI, LabVIEW makes a new copy of the array and stores the copy in memory. Use the In Place Element structure to avoid making extra copies of the array and index values, as shown in the following block diagram.

In the above example, the Array Index / Replace Elements border node of the In Place Element structure indexes an array of 32-bit unsigned integers, increments the third element of the array, and replaces the element in the same location in the array, similar to the first example block diagram. However, in this instance, LabVIEW does not have to create or store extra copies of the array values in memory. The In Place Element structure requires you to replace each indexed element of the array in the array with the node on the right side of the structure. Because the structure requires you to replace the array element and the LabVIEW compiler knows which element to replace, LabVIEW does not have to create or store extra copies of the array or array elements in memory.
The following list describes some of the caveats and recommendations to consider when you use the In Place Element structure: