05-03-2018 01:40 AM
Is there any option to combine two boolean clusters into one just like concatenating two arrays to one?
(I don't want to convert cluster to array, merge them and re convert them back to cluster because I loose the labels that way.)
05-03-2018 01:58 AM - edited 05-03-2018 01:59 AM
Hi kevin,
Is there any option to combine two boolean clusters into one just like concatenating two arrays to one?
Yes:
1. create typedefinitions for all clusters (2 inputs, 1 output)!
2. Unbundle both input clusters.
3. Bundle the values into the output cluster.
4. Put this operation into a subVI with a nice icon and description…
You can get rid of all this when you use the "output cluster" in all locations where you currently use those 2 input clusters…
Or rethink your data handling: there are other ways to store a bunch of key-value-pairs!
05-03-2018 02:23 AM
The Bundle should do that, you'll get a new cluster with 2 subclusters.
/Y