rareresident Posted June 28, 2022 Report Share Posted June 28, 2022 I was able to bundle a cluster of 4 Elements with an array of a cluster of 7 Elements in a new cluster. But as soon as I bundle a string value to it, it gives out an error? (Am using Jsoni3 lib) Json_Konvertierung_V1.5 - Kopie.vi Quote Link to comment
Darren Posted June 28, 2022 Report Share Posted June 28, 2022 It's because your indicator has the string as the last element in the cluster, not the first. If you change your Bundle function to have the string as the 3rd element wired in instead of the 1st, the wiring will work. I suggest you review the topic of Type Definitions in LabVIEW, where you can define a data type like a cluster in a single location, and use that type definition in all places in your code where you need that type. It helps you avoid situations like the one you describe. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.