Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66749

Scripting: Create Cluster in Array from existing cluster

$
0
0

I am creating a custom programming tool to generate some custom LabVIEW TypeDefs.

One of the structures I have to create is an array of clusters; but from an existing cluster.  That is, I have a reference to a previously defined cluster, and I need to array this.


One possible way to do this is to duplicate the cluster next to the empty array, and then 'move it into' the array.  This seems to be an ugly solution.

 

Is there a better way?  When I try and use "Create from Reference" method, the cluster is created in the array, but the sub-elements trigger error 0x421: Type Mismatch.

 

Thanks!

 

Jed


Viewing all articles
Browse latest Browse all 66749

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>