First, thanks in advance for reading this request.
Second, the situation:
I am using an array of clusters for process control.
The cluster contains a boolean, a typedef ring control, and two numeric controls (doubles).
Depending upon the user-requested operation I need anywhere from four to 20 cluster elements in the array.
Raw data for the two numeric controls are contained as elements in three different input clusters.
Each numeric control in each array cluster can use from none to four elements from the input clusters with various additions and subtractions (no mults or divs).
The boolean and ring can be set as constants for each element based on the user request.
Third, the request:
Is there a simple way to initialize the values in the cluster (and hence the array) without having to run wires everywhere?
I have been writing embedded code and PC applications for many years and am only recently tackling LabView.
In C, I would create a structure of the four elements and then create and array of structures.
The initialization would require a few lines of code.
I have tried using formula nodes (perhaps incorrectly). All they do is remove the Numeric blocks (like + and -), but they don't create the cluster.
I am sure that there is an easier way of accomplishing what I need to do, I am just too inexperienced to know what it is.
Any help or suggestions is welcome.
Thanks in advance.