The difference between LabVIEW shift registers, tunnels, and index tunnels

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.