Jump to content

Recommended Posts

Posted

Hello,

Is there any function or manner to get the value of a signal in the past? For example, let's us suppose that I have a signal A, and I would like to make the following calculation:

Calculation = (A( * - 5s) + A(* - 10s) + A(* - 60s))/3

Where A(*-t) would get the value of A at 5 seconds ago, it could be interpolated value or the nearest available value.

Any help?

Regards,

Mattheus

 

  • Seeq Team
Posted

Hi Mattheus,

You can do this by using the move (v49+) or delay (<=v48) function. For example, your equation would be:

($signal.move(5s)+$signal.move(10s)+$signal.move(60s))/3

 

  • Like 4
  • Thanks 1

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