EnableDriverEvent

<< Click to Display Table of Contents >>

 

EnableDriverEvent

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

Was this page useful?