Jump to content

Ignoring custom condition shorter than a desired time range


Recommended Posts

Hi,

 

If I have condition "A" and condition "B" and I do custom condition with Logic "A-B". I get a new condition "C".

Is there a way to filter condition "C", ie ignore the new condition when it is less than , lets say 1 minute.

Link to comment
Share on other sites

  • Seeq Team

In versions up through R21.0.40, you can use the the filter function, such as 

$condition.filter($capsule -> $capsule.duration() > 1min)

Where the expression inside the filter is evaluated for which capsules to keep.

This will be even easier in the upcoming release of R21.0.41 when you can do 

$condition.removeShorterThan(1min)

 

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...