This version is outdated by a newer approved version.DiffThis version (21 Jun 2012 17:09) was approved by William Jahn.

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.txt · Last modified: 03 Jan 2013 20:42 (external edit)