RESOLVED: CHOP Execute Dat BUG?

099 2017.10940 Win 8

I just ran print statement in onOffToOn and onValueChange of a CHOP Execute Dat to print the channel names. Instead, I got the value of the channel?

is this a bug? Coz according to the documentation the channel variable is suppose to contain the name of the channel?

Thank you!

Hi Mouren,

it’s not a bug.
If you read the documentation of the chopexecuteDAT Class callbacks
you’ll see channel is an object. If you click the channel hyperlink you’ll get to the channel class page which explains you what members it has.
So to print the name:

print(channel.name)

Thank you! Next time I will check the documentation more carefully.