Seeq Team Nuraisyah Rosli Posted July 28, 2022 Seeq Team Share Posted July 28, 2022 Question from user: I’d like to create a capsule defined as follows: When a valve transition from closed to open (this data (pi tag) is a string). I’d like the capsule to be limited to the first minute after the valve transition occurs. Answer: Use this equation in Formula tool: $open = $a ~= "Open" //create condition when the valve is open, a is your valve signal $open.afterStart(1min) //Create a condition with capsules ending 1mins after start of $open It will give result as shown in screenshot attached. Link to comment Share on other sites More sharing options...
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