Jump to content

durationKey error for signal aggregation, "nanosecond gap only allowed with non-caled maxInterp"


Go to solution Solved by Patrick,

Recommended Posts

Hello.

I need help with interpreting an error message I am recieving. 

I am trying to calculate a a signal aggreagtion for the delta of an angle signal. The aggregate signal is only supposed to last over a capsule called "activated". I want to use the durationKey() for this delta calculation, to get the runningDelta. When I am trying to perform this signal aggreagtion, either by using formulas or the built-in signal from condition tool, I get this error:

image.png.7ea97055bf49a98a30d173da189a5aad.png


However with the signal from Condition tool I get a preview of the delta signal, but it can not be executed. It doesnt really look how I expect it to though.
image.png.264b372a63afa0cf92192dd65042d4af.png


Here is the formula for the "activated" condition:
image.png.5e9e8bdadfe8b3b11cc2158b72193807.png

Any clues to what could be causing the problem?

Link to comment
Share on other sites

  • Seeq Team
  • Solution

Hi Joel - The issue is probably related to the your `removeLongerThan(1 month)` formula, which results in a calendar based maxinterpolation.  Try changing it to `.removeLongerThan(31 days)` to see if this fixes the error.

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