How to set values in Constant CHOP with python

Was looking for this, it worked! How do I set the values for the new created channels though?

Hi @aaronmylespereira,

you can set values with python by addressing them via their parameter name:

op('constant1').par.const0value = 10.2

The digit in the parameter name corresponds to the block in the sequential parameter.

Hope this helps
cheers
Markus

Got it! Used a different method that was a lot longer, but will swap it out for this, appreciate it! :slight_smile:

1 Like