Timing when Thingworx writes Kepware Tag
In a Thingworx service, we are setting a property value inside a script. The property is a remotely bound tag to Kepware. In the next line, we are trying to read the value but instead of getting the recently set value we get the old value.
logger.debug(me.value); // Value is 0 initially
me.value = 1;
logger.debug(me.value); // Still returns 0
Is this the expected behavior? We have tried both "read from cache" and "fetch from remote" settings on the parameter.
If we add a pause to the code we need about 200 ms to get the new value.
Many thanks!
Erik

