<< Click to Display Table of Contents >>
OnTagWrite |
OnTagWrite(Tag, Succeeded, User)
Occurs when a writing is triggered in any I/O Tag of the OPC UA Driver. For this event to occur, the Tag's EnableDriverEvent property must be enabled. If writing is asynchronous, the OnTagWrite event is generated only when the server sends a response indicating whether that writing was successful or not.
Parameters of the OnTagWrite event
Name |
Description |
---|---|
Tag |
A reference to a Tag object receiving the writing. For example, users can access any Tag property by using a syntax such as Tag.DocString |
Succeeded |
A Boolean value indicating whether this writing was successful or not |
User |
Parameter receiving the user that performed this writing. Default value of this parameter is "System". If there is no user logged in the Elipse Power Viewer that generated this event, this parameter contains the value "Anonymous". If writing is asynchronous or a failure occurred and was reported in an asynchronous way, this parameter always contains the value "System" |