02-14-2006 05:49 AM
02-14-2006 07:02 AM
two ways:
first: the so called LabVIEW2 style global. No race condition and only one memory for the data. However, if two loops want to write at the same time, one has to wait (a very small amount of time, but depending on the the amount of replaced elements (if random placed)). Search the forum and KB for this powerful way of handling data.
my second approach would be the producer consumer construction: another independent loop with a shift register to hold the data and a queue to pass the data.
sorry, only some hints...