EnableDriverEvent

<< Click to Display Table of Contents >>

 

EnableDriverEvent

Boolean This property is used to control the generation of the OnTagRead event, which occurs in the OPC UA Driver that contains this OPC UA Block Tag. If the OPC UA Block Tag's EnableDriverEvent property is set to True, at each reading from an OPC UA server, whether in error or not, the OnTagRead event in the OPC UA Driver that contains this OPC UA Block Tag is generated. Otherwise, this event does not occur. Also when the EnableDriverEvent property is set to True, at each reading sent to an OPC UA server generates the OnTagWrite event in the OPC UA Driver that contains this OPC UA Block Tag. If the writing is asynchronous, the OnTagWrite event is generated only when the server sends a response indicating 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 time, and not at the time the writing was sent. Default value of this property is False.

Was this page useful?