Want to use Expression CHOP's 2nd expression's result

Hi.
I’d like to use expression CHOP’s 2nd expression’s value(expr1expr), but it is not exported as value nor channels like usual expression like
op(‘express1’)[1].

Select CHOP does not work as well.
How can I use each expression’s value as individual values?



blooming bottlre.3.toe (6.5 KB)

Your op('express1')[1] should actually be `op(‘express1’)[‘chan1’], i.e. the name of the channel of that CHOP.

sadly, op(‘express1’)[‘chan1’] did led into same value as
op(‘express1’)[0].
Also, op(‘express1’)[‘chan2’] did not work .

I’d like to use value from CHOP’s 2nd expression, which is used as expr1expr.

I am just thinking that I should create another expression CHOP to make it work.
Does anyone using individual expression for another variables, or just using them for caliculation in single expression CHOP?

The expression CHOP modifies its incoming channels by using the expressions. The result is modified channel values. The number of expressions in an Expression CHOP is not (necessarily) related to the number of channels going into and coming out of it.

If op('express1')[1] is throwing an error then maybe you only have a single channel coming out of the Expression CHOP, and thus there is no [1] (only a [0]).

If you want the result of expression1expr separately from expression0expr, then you either need to adjust your setup so that you have two channels of data going into and out of your Expression CHOP ( so that each of the expressions will affect one channel each), or more yes indeed, chain a second Expression CHOP after the first and put only a single expressions in each one.