01-18-2013 05:29 AM
@Intaris wrote:
I have gthe solution with parallel for loop up and running and it's OK within the range of expectations but it's got an inherent upper limit of threads (N from the For Loop configuration) meaning that a multiple of this number of channels still incurs at least one cycle delay as the notifiers can be operated in only in parallel groups of N.
Then I would suggest going with my idea, as shown in the example in the previous reply. It should in principle be less resource-intensive (although I assume that's not an issue) and the only thing which can delay it is if one of the notifiers takes a long time to respond. If that happens, it can be expected that all the following notifiers in the array will already have values in them and will simply allow the loop to keep running immediately.
Also, just to make it clear, when I said "first" and "last" in my previous reply, I was referring to the index in the array, not to the order of notifications and I only used them as the extreme example. In principle, the same issue could happen with any two notifiers in the list, but I don't think it's an actual problem in your case.