07-30-2009 01:35 AM
Hi frnzz..
Iam giving two arrays of one element each. i.e,array1 with X values and array2 with Y value. I want the two arrays to be in a single arraywith single cluster.
i.e, Array3 with X and Y values. For this iam using Index and Bundle cluster array function. The result here is the array with cluster1 with X values and cluster2 with Y values. Can i get both X and Y values in one cluster????????? Plzzzzz help me with this.
Solved! Go to Solution.
07-30-2009 01:53 AM - edited 07-30-2009 01:54 AM
pani wrote:For this iam using Index and Bundle cluster array function. The result here is the array with cluster1 with X values and cluster2 with Y values. Can i get both X and Y values in one cluster????????? Plzzzzz help me with this.
"Index&Bundle cluster array" will give you a new array where each element is a cluster of one x and one y value. If you get something else, you are doing something wrong. If you only want one element of the resulting array, use index array.
Please attach your code, it can tell us much better what you have and what are trying to do.
07-30-2009 02:02 AM
Hi alten
thanx 4 the reply. Iam getting array of two clusters. One cluster is having one lelment and the other having the second element.
Iam getting both X and Y but with two clusters. My requirement is an array with one cluster with two elements.
07-30-2009 02:09 AM
07-30-2009 02:18 AM
Sure alten. Here is the attatchment. You can get some idea nw. The output "array of clusters" is an array with two clusters.
One with X values and other with Y values. Nw i want to connect the output to the other indicator "array5". Array5 is an indicator
with one cluster having two elements. Is it possible???????
07-30-2009 02:27 AM
This is not a VI, just an image.
We cannot tell what kind of structures you have, but it is not what you describe because the inputs are arrays of clusters and NOT arrays as you claim. Hover e.g. over the Y wire with the context help on. What does it say?
What prevents you from attaching the actual VI? Please do!
07-30-2009 02:36 AM
07-30-2009 02:37 AM
I am not sure if what u mean by array of one element.Do u mean the size or element type ?
07-30-2009 02:42 AM
Hi muks,
I want both x and Y values in one array having one cluster
07-30-2009 02:46 AM
I am sorry but not able to understand you clearly. can you make it simpler in just showing your input and expected output pictorically?