Compare Chops - Trigger

HI,

I have 2 channels A & B, I’d like to compare both channels, when channel B is higher than channel A, it will trigger 1 or something.

The logic chop has the “Equivalence” option for combine channels, but couldn’t compare the values?

I’m sure it’s probably something simple I’ve missed, but grateful for any advice

Thanks!

Here’s a solution using a Shuffle Chop and an Analyze CHOP. The output is the index of the channel with the highest value.
So if the first channel is the highest, the output is 0.
If the second channel is the highest, the output is 1.

show_index_of_highest_channel.tox (630 Bytes)

Thank you for the example!