I am trying to get more engineers up to speed with developing using Ignition’s Vision.
The first thing a new guy tried was placing a Cylindrical Tank component on a window and setup a set of buttons to change the tanks level (0, 10, 20, …) using actionPerformed -> Set Property ->
Set this property:
To this value:
Unfortunately this produces an error:
Traceback (most recent call last):
File “event:actionPerformed”, line 7, in
AttributeError: read-only attr: value
Ignition v8.0.11 (b2020041411)
Java: Azul Systems, Inc. 11.0.6
I showed him that this could be achieved by creating a memory tag and binding the tanks value property to it and use a ‘Set Tag Value’ script instead but I was surprised that he wasn’t able to do it the way he originally tried… Anyone know why?