EnableDriverEvent

<< Click to Display Table of Contents >>

 

EnableDriverEvent

Boolean This property is used to control the generation of the OnTagRead event, which occurs on the OPC UA Driver that contains the OPC UA Tag. If Tag's EnableDriverEvent property is set to True, at each reading from an OPC UA server, whether in error or not, the OnTagRead event is generated on the OPC UA Driver object that contains this Tag. Otherwise, this event does not occur. Also when the EnableDriverEvent property is set to True, at each writing sent to an OPC UA server generates the OnTagWrite event on the OPC UA Driver that contains this Tag. If this writing is asynchronous, the OnTagWrite event is generated only when the server sends a response whether that writing was successful or not. In this case, the event is generated only if the EnableDriverEvent property is set to True at that moment, and not at the moment that writing was sent. Default value of this property is False.

Was this page useful?