Page 1 of 1

Posted: 26 Feb 2010, 17:32
by gercha1
hi,
I want to modify array value
all of the 0 value of a first seqswitch become 1 in the 2nd array
and all of the 1 value of a first seqswitch become 0 in the 2nd array
i try with the not(A) module but it's data and not array
how can i modif array ?

gercha1

Posted: 26 Feb 2010, 20:03
by 23fx23
normally the not(A) module (and more generally all logical modules) should work with array too no?

otherewise you can try to put a A-B module where A is 1 anb B is your fist array out, followed by an abs module, output drive to the second array.

so if value is 1: result is 1-1=0
if value is 0: results is 0-1= -1, and the abs module keep only 1 without minus, so you get an inversion.

Posted: 26 Feb 2010, 20:17
by gercha1
thanks a lot
it work , but i don't understand why the module not(A) don't work ?
mystery...
gercha1