Hi all
I have a constant chop with 40 values , i can read thoses values buy different ways
as an example for channel 0 :
op(“constant”).par.value0
or
op(“constant”)[0]
or
op(“constant”)[0][0]
but for writting, only
op(“constant”).par.value0 = 5 works fine
As i have a function with index and many channels it would help a lot if i could write :
op(“constant”)[index][0] = myValue.
Othewise i have about 40 times to write
if index == 0 :
op(“constant”).par.value0 = value
if index == 1 :
op(“constant”).par.value1 = value
if index == 2 :
op(“constant”).par.value2 = value
…
thanks all