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

Cluster, Class, & Variant VIs and Functions

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Owning Palette: Programming VIs and Functions

Use the Cluster, Class & Variant functions to create and manipulate clusters and LabVIEW classes, convert LabVIEW data to a format you can manipulate independent of data type, add attributes to the data, and convert variant data to LabVIEW data.

Palette ObjectDescription
Array To ClusterConverts a 1D array to a cluster of elements of the same type as the array elements. Right-click the function and select Cluster Size from the shortcut menu to set the number of elements in the cluster.
Build Cluster ArrayBundles each component input into a cluster and assembles all component clusters into an array of clusters. Each cluster contains a single component.
Bundle By NameReplaces one or more cluster elements. This function refers to cluster elements by name instead of by their position in the cluster.
BundleAssembles a cluster from individual elements.
Call Parent MethodCalls the nearest ancestor implementation of a class method. You can use the Call Parent Method node only on the block diagram of a member VI that belongs to a class that inherits member VIs from an ancestor class. The child member VI must be a dynamic dispatching member VI and have the same name as the ancestor member VI.
Cluster ConstantUse this constant to supply a constant cluster value to the block diagram.
Cluster To ArrayConverts a cluster of elements of the same data type to a 1D array of elements of the same data type.
Get LV Class Default ValueReturns the class data for the class whose path you wire to the path input.
Index & Bundle Cluster ArrayIndexes a set of arrays and creates a cluster array in which the ith element contains the ith element of each input array.
LV Object ConstantThe LabVIEW Object is the common ancestor data type for all LabVIEW classes. You can use the LabVIEW Object to create generic methods that can handle all LabVIEW class data types.
To More Generic ClassTypecasts a reference, such as a control or a type definition, to a more generic class in the inheritance hierarchy.
To More Specific ClassTypecasts a reference, such as a control or a type definition, to a more specific class in the inheritance hierarchy.
Unbundle By NameReturns the cluster elements whose names you specify.
UnbundleSplits a cluster into each of its individual elements.


SubpaletteDescription
Variant FunctionsUse the Variant functions to add, retrieve, and delete attributes in LabVIEW variants, as well as manipulate variants.

Resources


 

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