Ilnar Posted September 4, 2024 Posted September 4, 2024 I need help writing a condition for the graph below. I would like to isolate the states where the equipment was running or not running based on changes in the counter value. The equipment is considered running (on) if the counter value changes compared to the previous reading taken 15 seconds earlier. If there is no change in the counter value, the equipment is considered not running (off). Unfortunately, I couldn't figure out how to..
Solution Thorsten Vogt Posted September 4, 2024 Solution Posted September 4, 2024 Hi Ilnar, you may try to use the runningDelta() function to get the change in value against the previous sample and compare this against 0. $counter.runningDelta() > 0 Regards, Thorsten 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now