07-27-2011 09:03 AM
I am writing to a text file starting with a type def. cluster (control) of say 15 dbl numeric elements, that works fine I open the tab-delimited text file and all of the elements appear in the file. However when I read from the same text file back to the same type def. cluster (indicator), the read from text file defaults to 9 elements?? Is there a way to control how many elements are read from the file. This all works great when I initially use a cluster of 9 elements and read back to a cluster of 9 elements.
Solved! Go to Solution.
07-27-2011 09:10 AM
From the LabVIEW Help: http://zone.ni.com/reference/en-XX/help/371361G-01/glang/array_to_cluster/
Converts a 1D array to a cluster of elements of the same type as the array elements. Right-click the function and select Cluster Size from the shortcut menu to set the number of elements in the cluster.
The default is nine. The maximum cluster size for this function is 256.
Aside: so, how many times has this question been asked over the years?
07-27-2011 09:19 AM
Wow the solution was staring me right in the face, usually the case. Thanks a bunch. I am new to Labview and this forum so I apologize in advance for asking questions that have already been answered.
07-27-2011 09:54 AM
The default is nine
Aside: so, how many times has this question been asked over the years?
Does anybody know why it is nine?
07-27-2011 10:09 AM
No, but I'm curious
07-27-2011 10:19 AM
@Steve Chandler wrote:
The default is nine
Aside: so, how many times has this question been asked over the years?
Does anybody know why it is nine?
Because it is 1 less than 10?
07-27-2011 10:22 AM
07-27-2011 10:28 AM
Well..
07-27-2011 10:34 AM - edited 07-27-2011 10:37 AM
It must have something to do with that famous Ed Wood film.
07-27-2011 11:20 AM
I think it's got something to do with the nine circles of hell