I want to totalize an analog channel value. Let us assume , we have have a gas flow rate signal (m3/min) connected in a analog channel. We want to inetgrate that flow rate and find the actual gas consumed.
Hence we need to add
Total = Total + ADC(1) * Scan time of program
How to I get the scan time of program in milli second ?