Completely agree with JesperMP. Myself, I'd strongly recommend doing it in a PLC if you can. Can I ask what your control scheme is? What SCADA/HMI package and PLC?
I will also do totalizer in the PLC. And if possible use long real (64 bit).
But if you want it done on the SCADA use at timed script 1 sec. and your analog imput is in l/h:
Yes, absolutely correct. So much for replying without finishing 3rd coffee of the morning
@Amit22 --
You have been given several, similar answers. Can you not understand them?
And the reason to NOT TOTALIZE IN THE HMI is you will introduce many inaccuracies. Totalize in the PLC, with a fixed time base, and read the total on the HMI.