05-21-2008 09:11 AM
05-22-2008 09:32 AM
05-22-2008 10:29 AM
05-23-2008 04:33 AM - edited 05-23-2008 04:34 AM
Can you predetermine an upper bound on the number of clusters you are going to need? If yes, you can initialise an array of clusters and then use the Replace Array Subset which is a very efficient function and LabVIEW
will not replace all the clusters within the array. You can then use notifiers to make the data global, you just need to make sure that you can process the data at the rate it is produced, otherwise you may need to use queues.
You could potentially use local variables instead of notifiers but you need to protect your code from race conditions, possibly by using semaphores.
KostasB
NIUK Applications Engineering
05-27-2008 05:43 AM