ValueChange script run multiple time

Hi everyone,

I have a UDT containing multiple tags. Some tag are OPC tag, other are expression tag. Some tag contains ChangeValue script. It was working fine since a few month.

We got a problem since about 2 weeks. Sometimes, a ChangeValue script execute 2 or 3 times when the value of the tag change only one time.

Any idea?

You could check that newValue is different from oldValue before executing.

Problem found… Too stupid to be published here …

We don’t judge :grin:

Seriously though, posting your solution could help those who stumble across this thread in the future.


The tag exist in double…

Good find! That will certainly cause the issue.