04-22-2006 05:45 PM
04-23-2006 10:04 AM
04-23-2006 11:37 AM
04-23-2006 02:34 PM
Hi
I have the feeling that not only the data in the cluster changes but also the type of the cluster of clusters.
This is not allowed in labview.
If you really need that use a variant, but before ask youeself twice or three times why do I want to use the same subvi with differetn types of data.
If the datatype changes, maybe the subvi has to change!
04-23-2006 11:29 PM
Thanks for the input Albert
I found way to solve my problem. What I finally decided to do was to convert the cluster into an array (same type of data in cluster) and then convert this into a variant. I then passed the size of the array as a variant attribute. Since the type of data stayed the same (strings), I could then rebuild the array in the sub-Vi with the "intialize array" function and pass that as the type for the "variant to data" function. I had to make a few compromises but it seems to be the easiest way to do what I want. Hope this could help someone and thanks for the help everyone!
04-24-2006 02:53 AM
04-24-2006 04:58 AM
04-24-2006 07:30 AM
04-24-2006 09:27 AM
04-24-2006 09:32 AM