Error writing to tag: array element type mismatch

Hello everyone,

I've made a template in Perspective, that allows me to monitor and configure a Phoenix Contact Caparoc Circuit Breaker. This template is connected to an according UDT that has a relatively complex structure. The connection between the tags in the PLC and Ignition Gateway works just fine, i can monitor and display all the tags in the UDT and the data is correct. The perspective template also displays all the data correctly.

To configure some values I am using a numeric entry field with a indirect bidirectional tag binding. These values are defined as a Byte-Array withing the Caparoc UDT. When I change these values in the PLC they are correctly displayed in the entry field. But as soon as I want to change the value via Ignition, i get the following error exception:

Error writing to tag '[default]Caparoc/slots/0/setup/setChannelCurrent': array element type mismatch.

Here a tag path to the value I want to manipulate:
[default]Caparoc/slots/3/setup/setChannelCurrent[0]

Did anyone esle have a similar problem? Are there any ideas, what causes the error exception?

Maybe if you post some screenshots of the tags and the props of the numeric entry field it will be a bit clearer.
Also your error listed is using a different path to the tag path you listed, so that indicates you are missing something, as a binding uses the same path for both read and write.

When you wish to write array types, you must use actual java arrays (from the jarray jython module). For most OPC types, you cannot manipulate individual elements--you have to write the whole array every time.