I have a single process shared variable which is an array of doubles. In a low frequency loop, I have a preallocated array of which I want to write a subset of to the shared variable which I read in another high frequency loop. If I use the array subset node to get the subset and wire the the subarray output into the shared variable, the Show Buffer Allocations tool shows a black dot on the shared variable indicating that memory is allocated. If I use the Replace Array Subset node and wire the Shared variable as in the input array, wire the subset in, and then wire the output array to the Shared Variable, the Show Buffer Allocations tool shows no black dots. Is this correct or is there another way to achieve this. I thought that with the single process shared variables you are supposed to avoid multiple readers. In the second scenario, the low frequency loop is "reading" the shared variable to use as the array for which I want to replace a subset of. However, in the first scenario, the low frequency loop is only writing to the shared variable but it seems like each time its called it will allocate memory.
Any thoughts?
kmc