Jump to content

Create a Condition Each Time Value Changes


Julian Epps

Recommended Posts

  • Seeq Team

Hi Julian,

This Formula should do the trick:

$signal.toCondition()

Note, if you want just the time point where the change occurs, you could add another argument to shorten the time duration of each capsule:

$signal.toCondition().afterstart(1s)

 

Edited by Joe Reckamp
  • Like 1
Link to comment
Share on other sites

  • Seeq Team

Hi Julian,

The first formula ($signal.toCondition()) will create a capsule the length of each time frame between step changes. From there, you can use Signal from Condition to calculate the "Total Duration" statistic for each of the capsules created (use the result of the formula for both the condition of interest and bounding condition).

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...