

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of cluster functions in national instruments, explaining how to use the bundle, bundle by name, unbundle, and unbundle by name functions to assemble, manipulate, and disassemble clusters. Learn how to change the values of individual elements, replace or access labeled elements, and split a cluster into its individual elements.
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


This work is produced by The Connexions Project and licensed under the Creative Commons Attribution License †
Abstract In this section, you will learn about Cluster Functions. Use the Cluster functions located on the FunctionsAll FunctionsCluster palette to create and manipulate clusters. Use the Bundle and Bundle by Name functions to assemble and manipulate clusters and use the Unbundle and Unbundle by Name functions to disassemble clusters. You also can create the Bundle, Bundle by Name, Unbundle, and Unbundle by Name functions by right- clicking a cluster terminal on the block diagram and selecting Cluster Palette from the shortcut menu. The Bundle and Unbundle functions automatically contain the correct number of terminals. The Bundle by Name and Unbundle by Name functions appear with the rst element in the cluster. Use the Positioning tool to resize the Bundle by Name and Unbundle by Name functions to show the other elements of the cluster.
Use the Bundle function to assemble a cluster from individual elements or to change the values of individual elements in an existing cluster without having to specify new values for all elements. Use the Positioning tool to resize the function or right-click an element input and select Add Input from the shortcut menu. If you wire a cluster to the cluster input, the number of inputs must match the number of elements in the input cluster. If you wire the cluster input, you can wire only the elements you want to change. For example, the cluster in Figure 1 contains three controls.
∗Version 1.1: Jul 16, 2004 3:11 pm GMT- †http://creativecommons.org/licenses/by/1.
Figure 1
If you know the cluster order, you can use the Bundle function to change the Command value by wiring the elements shown in Figure 2.
Figure 2
Use the Bundle by Name function to replace or access labeled elements of an existing cluster. Bundle by Name works similarly to the Bundle function, but instead of referencing cluster elements by their cluster order, it references them by their owned labels. You can access only elements with owned labels. The number of inputs does not need to match the number of elements in output cluster. Use the Operating tool to click an input terminal and select an element from the pull-down menu. You also can right-click the input and select the element from the Select Item shortcut menu. In Figure 3, you can use the Bundle by Name function to change Command and Function.
Figure 3