ΣSigmaStudio Русский

This is an old revision of the document!


AB In/Out Condition


AB In/Out Condition The AB In / CD Out Condition block lets you compare the sample-by-sample level of two incoming signals (AB) and output the sample of the signal meeting the condition.

This algorithm works only for DSPs with a conditional instruction.

Click the blue icon in the block to select what condition you want to execute:

  • greater than
  • less than
  • greater than or equal to
  • less than or equal to.

When the condition is met, your output sample is A; otherwise it's B.

Note that you will need to recompile your project every time you select a different condition.

For a sample design using this block, see the Basic DSP example.