LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to unbundle/bundle a cluster dynamically ?

I read some where its possible to unbundle/bundle a cluster using variant operations. I have tried the same and failed to do so. Can someone explain on this ? I have a cluster as attached below. I want to unbundle/bundle them dynamically(Inner cluster name might be different aswell). 

0 Kudos
Message 1 of 3
(622 Views)

Re: Get Cluster Information VI preserves data? - NI Community

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 3
(610 Views)

I usually use the OpenG Toolkit functions to convert clusters to arrays of variant and vice-versa:

raphschru_0-1687248401941.pngraphschru_1-1687248412996.png

 

Also, if your cluster is more complex (with more levels), you may also use a recursive VI to bundle/unbundle an arbitrary number of cluster levels.

 

Regards,

Raphaël.

Message 3 of 3
(590 Views)