I want to calculate the time interval between consecutive ON states of a valve using its ON/OFF status tag. The analysis works pretty well in preview mode and with backfilling. But with running analysis, the calculated values are wrong. I know that reason for it are the snapshot values. But how to overcome this?