Hi,
"FReAK La Marsch" wrote in message
news:50650000000500000018BB0100-1079395200000@exchange.ni.com...
> Thanx for that answer!
>
> Now another Question 🙂
> Is der any performance difference betweent BuildArray and the array
> creation via an indexed loop?
That would be practically the same. They are both relativelly slow (if the
array size gets big, e.g. 1M+).
Now that you have a shift register, try this to get some extra speed...
Wire an initialised array with the absolute maximum size. Instead of
building an array, replace the appropriate array element (keep track of the
element in another shift register, don't forget to initialize the shift
register). At the end of the loop, use Resize Array with the output of the
eleme
nt shift register, and your array is nicelly cut to the appropriate
size.
Regards,
Wiebe.