Lab View differences: Shift registers, tunnels, indexed tunnels
When I recently studied Lab view, we found that shift registers and tunnels were very similar in function, but they were different.
External data into the loop body is entered through the tunnel, there are several ways:
The For loop structure illustrates three tunneling structures, which are nodes used for data input and output on the left and right borders of the for loop structure. The three types of tunnels are from top to bottom: Index tunnels, shift registers (shift register), general tunnels.
The general tunnel is to pass data to the outgoing loop structure. The type and value of the data do not change before or after the incoming loop structure.
Indexed tunneling is a unique feature of Lab VIEW. An array outside the loop is connected to the loop structure through an index tunnel, and the tunnel automatically takes out the elements of the array in the inner side of the loop, taking one element at a time in order. By using the index tunnel to send data, you can automatically organize the data within the loop into an array.
Incoming outgoing data through a shift register, and the type and value of the data are not changed. The special point of a shift register is that the same memory is forced on the terminals at both ends of the loop structure. Therefore, the last iteration of the execution of a given value, to the right side of the shift register to the terminal, if the next iteration of the operation needs to use this data, from the left side of the shift register to the terminal.
The difference between LabVIEW shift registers, tunnels, and index tunnels