Adding data that arrive from device

Adding data that arrive from device

@Leandro Ferreira

Hello everyone. I need an example of analysis that can sum up the data that arrives from a certain variable. The total amount has to be shown on the cylinder widget.

I have no experience with codes, thank you if you can give me a ready example.