FrancescoF
Good evening, 
I'm not able to write the code in which if the value of the channel is higher than 1.5 I want that it becomes  - 2.
Because I'm only able to do [channel]>1.5*-2 but it returns all 0 to values lower than 1.5 and I don't want that; I want that the values lower than 1.5 will remain the same. 
Sorry but I'm new of this software
Reply 0 0
littleozfella
choose ([Channel] >1.5,-2,[Channel])     
Logic of maths, If Channel > 1.5 return -2, otherwise return Channel
  This should work.   Toolbox has good help (F1)  For Maths help look under Operators

Cheers
Reply 2 0
Reply