| Top | Previous | Next |
|
system.tag.writeToTagSynchronous |
|
Description Writes a value to a tag, synchronously. This means that you know at the end of this function whether or not the write succeeded or not. However, this function cannot be called from the event dispatch thread, which means that it cannot be called directly from a GUI event like a button press, without wrapping it in a system.util.invokeAsynchronous. You can call this from project event scripts like timer scripts. Syntax system.tag.writeToTagSynchronous(tagPath, value [, timeout]) Parameters String tagPath - The path of the tag to write to. Object value - The value to write. int timeout - How long to wait before timing out. [optional] Returns nothing Scope All |