Jump to content

Adding signals with gaps


Go to solution Solved by Teddy,

Recommended Posts

  • Administrators
  • Solution

The simplest fix is to set the regions without data to a value of 0 and then add them. This can be achieved by making the following change to your formula. Other values can be used as the baseline but zero is the most common one for replacing the invalid data. 

$signal1.replaceNotValid(0) + $signal2.replaceNotValid(0)

Below is a screenshot of two signals being added with gaps in them. The result signals show the result of not replacing the invalids with zero and replacing them with zero to show the difference. 

image.png

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