Replace tunnels with shift registers when you need to transfer values from one loop iteration to the next.
Complete the following steps to replace tunnels with shift registers.
If no tunnel exists on the loop border opposite of the tunnel you right-clicked, LabVIEW automatically creates a pair of shift register terminals. If a tunnel exists on the loop border opposite of the tunnel you right-clicked, LabVIEW replaces the tunnel you right-clicked with a shift register terminal, and the cursor becomes a shift register icon. Click a tunnel on the opposite side of the loop to replace the tunnel with a shift register or click the block diagram to place the shift register on the loop border directly across from the other shift register terminal. If the shift register terminal appears behind a tunnel, the shift register is not wired.
If you convert a tunnel with auto-indexing enabled to a shift register on a While Loop, the wire to any node outside the loop breaks because shift registers cannot auto-index. Delete the broken wire, wire the output wire to the right shift register to another tunnel, right-click the tunnel and select Enable Indexing from the shortcut menu, and wire the tunnel to the node.