Victor
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Library
Downloads
Gallery
Posts posted by Victor
-
-
Hello, I'm trying to create a formula and for that I need include only period when drive work.
Drive Load - 1st signal (ex. $DLC )
Drive work - 2nd signal (ex. $DWC two possible option ACTIVE/INACTIVE)
1) Created a Capsule ($C) which analyze $DWC on ACTIVE.
How can I filtrate $DLC, what I need to do is leave only those periods when $DWC is ACTIVE
Can I do it with .keep operator?
Trying to do it according to this
QuoteSeeq Version R22.0.46 introduces the .keep() Formula operator for filtering a condition based on capsule properties. In the original post, the following Formula was used to generate a new condition that only has capsules where the Value property is equal to OFF:
Prior to R22.0.46:
$condition.filter($capsule-> $capsule.getProperty('Value').isEqualTo('OFF')
With Seeq Version 22.0.46, the same result is achieved using the simpler keep() function syntax:
Version R22.0.46 and later
$condition.keep('Value', isEqualTo('Stage 1'))
Quote$signal.keep(
$sample -> $sample.value() != 'T4A')$DLC.keep($capsule.....)?
Must be easy to done, but I can't figure it out.
Signal filtration with capsule for formula
in General Seeq Discussions
Posted
@Thorsten VogtThank you.