08-20-2019 09:14 AM
Hi,
I want to compare two clusters (the clusters are type def and each cluster contain many clusters).
How can i compare them and return array or clusters of boolians for each "sub-cluster" in the original one?
(The compare elements mode also compares the controls inside each panel)
Thanks
Solved! Go to Solution.
08-20-2019 09:25 AM - edited 08-20-2019 09:25 AM
I guess I don't understand the question. The comparison will result in the same structure and you can unbundle the inner comparison result any way you want.
If you want more specific answers, please attach a simple example demonstrating your problem.
08-20-2019 10:55 AM
For example, I am getting the whole settings as one cluster, and I want to check each sub-cluster for changes compared to the old settings (which means which instrument I should update.)
08-20-2019 11:01 AM
08-20-2019 11:08 AM
@PokiBono5 wrote:
For example, I am getting the whole settings as one cluster, and I want to check each sub-cluster for changes compared to the old settings (which means which instrument I should update.)
Why would an image of a front panel explain the problem???
08-20-2019 11:15 AM
This what i am getting:
(code-1, front panel result-2)
and I want to compare only the clusters (so get only 4 Boolean elements)
Thanks
08-20-2019 11:28 AM
@PokiBono5 wrote:
This what i am getting:
(code-1, front panel result-2)
Can you explain what that even means?
08-20-2019 11:34 AM
@PokiBono5 wrote:
This what i am getting:
(code-1, front panel result-2)
and I want to compare only the clusters (so get only 4 Boolean elements)
Thanks
That is a day-dream.
Best you can do is check the aggregates and if not equal break out each sub-cluster and compare aggregates on each.
Ben
08-20-2019 11:58 AM
03-14-2022 06:38 AM
I just had the same problem for dynamic cluster length and found out that you can do it with OpenG's Cluster to Array of VData__ogtk.vi