Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

array to cluster -> to many elements

21 views
Skip to first unread message

Martin Mohr

unread,
Nov 17, 2004, 3:11:25 PM11/17/04
to
Hello,

i am quite a beginner with labview. I use version 7.

I have a one-dimensional array that i've built with Build Array and a
Feedback Node. I convert this array to a cluster with Array To Cluster.
The cluster always contains 9 elements, even if the list contained only
one. Why is that?

Thank you!
Martin

edin991

unread,
Nov 17, 2004, 5:09:57 PM11/17/04
to
Right click on the Array to Cluster node and select cluster size option at
the bottom of the pop-up menu. This will let you resize the cluster
according to the size of your array.

Martin Mohr

unread,
Nov 17, 2004, 5:30:43 PM11/17/04
to

Thank you for your answer. But i need to do this on run-time. The
array's size varies. Can't the cluster just contain as many elements as
the array it was construced of?

I believe that i don't understand some very basic point in labview. I
was also trying to create simple list strcutures like
((a,b,c),(d),(e,f)) with various combinations of clusters and arrays and
i didn't arrive. What is the proper way to do so?

I usually code perl where such data structures are the most basic principle.

Thanks,
Martin

Paul Cardinale

unread,
Nov 18, 2004, 9:46:15 AM11/18/04
to
Martin Mohr <m...@mohr.de> wrote in message news:<cngjbd$mel$00$1...@news.t-online.com>...

You can't programmatically change the cluster size used in the 'Array
to Cluster' function. Perhaps the function that would serve you is
'Build Cluster Array'.

Paul Cardinale

0 new messages