LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I define a universal cluster

Solved!
Go to solution

 

I am developing a family of VIs that have the same cluster as an input (by 'same' I mean, same number of elements, each element has the same name and data type).  Each VI takes the cluster, manipulates an element in some way, and then outputs the cluster.  Say in the future I decide I want to add an element to the cluster, or change one of the element's data type.  As it stands, I have to change the cluster in each of my VIs to reflect this change. 

Is there someway that I can define a cluster somewhere (call it the god cluster, all other clusters are formed in its image), and point back to it in all my other VIs? So that I can just change the god cluster, automatically updating the clusters in the other VIs.

  
 
0 Kudos
Message 1 of 2
(2,472 Views)
Solution
Accepted by topic author dhover

Customize the cluster control and save it as a Type Def, or Strict Type Def. 

This way all instances use the same control type and you change the cluster type by editing the saved Type Def cluster control.

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
Message 2 of 2
(2,468 Views)