Wiki

This version (14 Nov 2012 19:59) was approved by William Jahn.The Previously approved version (21 Jun 2012 17:10) is available.Diff

This is an old revision of the document!


AB In/Out Condition

Click here to return to the Basic DSP page


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.

resources/tools-software/sigmastudio/toolbox/basicdsp/abinoutcondition.1352919554.txt.gz · Last modified: 14 Nov 2012 19:59 by William Jahn