CLUSTERS group data elements of mixed types. An example of a cluster is the LABVIEW error cluster, which combines a Boolean value, a numeric value and a string. A cluster is similar to a record or a struct in text-based programming languages. The below Figure shows the error cluster control and the corresponding terminal created in the BLOCK DIAGRAM. This cluster consists of a Boolean control (status), a numeric control (code) and a string control (source).
If you would like to Enrich your career with an Android certified professional, then visit Mindmajix - A Global online training platform: “LabVIEW training” Course.This course will help you to achieve excellence in this domain.
Bundling several data elements into clusters eliminates wire clutter on the block diagram. It also reduces the number of connector pane terminals that SUBVIS need by passing several values to one terminal. The connector pane has, at most, 28 terminals. If your FRONT PANEL contains more than 28 controls and indicators that you want to pass to another VI, group some of them into a cluster and assign the cluster to a terminal on the connector pane. In the below Figure (a) individual values are passed to the connector pane terminals. In the below Figure (b) CONTROLS AND INDICATORS are grouped into clusters and connected to one control panel terminal each.
All elements of a cluster must be either controls or indicators. You cannot have a string control and a Boolean indicator. Think of clusters as grouping individual wires (data objects) together into a cable (cluster). The following is an example of a cluster used to store student information.
LABVIEW CLUSTER EXAMPLE
Description: Clusters group data elements of mixed types, such as a bundle of wires, as in a telephone cable, where each wire in the cable represents a different element of the cluster. A cluster is similar to a record or a struct in text-based programming languages. Bundling several data elements into clusters eliminates wire clutter on the BLOCK DIAGRAM and reduces the number of connector pane terminals that subVIs need. Like an ARRAY, a cluster is either a control or an indicator. A cluster cannot contain a mixture of controls and indicators.
Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:
Name | Dates | |
---|---|---|
LabVIEW Training | Dec 07 to Dec 22 | View Details |
LabVIEW Training | Dec 10 to Dec 25 | View Details |
LabVIEW Training | Dec 14 to Dec 29 | View Details |
LabVIEW Training | Dec 17 to Jan 01 | View Details |
I am Ruchitha, working as a content writer for MindMajix technologies. My writings focus on the latest technical software, tutorials, and innovations. I am also into research about AI and Neuromarketing. I am a media post-graduate from BCU – Birmingham, UK. Before, my writings focused on business articles on digital marketing and social media. You can connect with me on LinkedIn.