01-24-2006 12:12 PM
01-24-2006 12:19 PM
01-24-2006 12:28 PM
01-24-2006 12:32 PM
01-24-2006 12:39 PM
01-24-2006 01:24 PM
01-24-2006 01:43 PM
01-24-2006 01:47 PM
You can use the 'Sort 1D array' function: it sorts an array of clusters according to the first element of the cluster.
@foenig wrote:
.....
I'm using this to sort an array of clusters.
01-24-2006 02:15 PM
01-24-2006 02:17 PM
"But I thought I'm indexing the array from the last loop-step (therefor the shift-register). The help says, insert into index resizes the array.
And why has the output-array of the following vi a length of 6?"
It will resize the array if the insert actually works. The problem is that you can't for example, insert an element into index 4 of an array that has less than 5 elements because index 4 doesn't exist. You changed your example to always insert into position 0, so it will keep adding at the front of the array and push the other elements down.
Make sense?