Modbus data aggregation for plotting

there should be no need to use context (flow.set) at all. This can (will) result in concurrency issues when multiple messages are flowing at the same time (the one behind will overwrite the value set by the one in front).

Multiple messages can occur when the inject interval is faster than the time it takes to complete the full flow.

Just use msg props to build up your values - that way you remove the concurrency issue - each msg and its props are their "own thing" - that removes the issue.

I''ll look into it.
Thank you!