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

Replacing Tunnels with Shift Registers

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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.

  1. Right-click the tunnel.
  2. Select Replace with Shift Register from the shortcut menu.

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.


Resources


 

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