How can I do to calculate the amount of hours that an engine has working from X date to the current time but when it is turned off either by failure or maintenance and then restarted, the hour meter initializes back to 0?
Request you to use TimeGT.
e.g. Below example checks for value greater than 50 in the time period and gives number of seconds it is greater than 50. Used two variables for reference.
In your case, please use below expression
Result = TimeGT('tagname', 'startime','*', 0)
Retrieving data ...