Jump to content

adding 2 signals, when one signal shows no value, result is missing

Recommended Posts

  • Seeq Team


Please let me know if this is the problem you have:

Here is the result of adding two signals when one of them has gaps in it: 




Step1: Identify the gaps in Signal1 using the following formula: 

  • $s1.isNotValid()


Step 2: Substitute the gaps in Signal1 with zero using the Splice function: 

  • $Signal1.splice(0.tosignal(),$Gap)


Step3: Use the newly created signal(Without gaps) and add it to the second signal:

  • $Signal1NoGap+$Signal2


Please let us know if this answers your question. 

Thank you






  • Like 1
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...