The OPCUA32 client driver causes long (~40s) delays during reload of the runtime and closing of the runtime under specific circumstances

The OPCUA32 client driver causes long (~40s) delays during reload of the runtime and closing of the runtime under specific circumstances

Summary

When the runtime running a a project using the OPC UA client driver in combination with a specific OPC UA server is closed, the OPCUA32 client driver delays the close of the runtime. With the specific OPC UA server there may also be a long delay (~40s) during reload with specific project changes that affect variables or the driver configuration.

Description

When the runtime running a a project using the OPC UA client driver in combination with a specific OPC UA server is closed, the OPCUA32 client driver delays the close of the runtime. With the specific OPC UA server there may also be a long delay (~40s) during reload with specific project changes that affect variables or the driver configuration.

Solution

An issue has been addressed in the OPCUA32 client driver where the order in which the ServiceFault for outstanding publish requests are received after the OPCUA32 client driver sent a DeleteSubscriptionRequest, may cause the driver to incorrectly reinitialize the communication, causing a delay during closing the runtime and reloading the runtime under specific circumstances.   Now when the OPCUA32 client driver first receives ServiceFaults from the OPC UA server before receiving the confirmation of the DeleteSubscriptionRequest, the OPCUA32 client driver correctly recognizes that the subscription no longer exists and there is no delay.

Issue Number: 35023
Fixed on Date: 26.4.2016
Versions: 7.20 0 BUILD 27570