What's new in QuickOPC 2022.1: Difference between revisions

From OPC Labs Knowledge Base
No edit summary
Line 26: Line 26:
== OPC UA File Transfer ==
== OPC UA File Transfer ==
== OPC UA PubSub ==
== OPC UA PubSub ==
-->
== COM Components ==
== COM Components ==
* Updated QuickOpc.h include file (Microsoft C++) for use with ISO C++ 20 Standard.
<!--
== User Interface ==
== User Interface ==
-->
== Services ==  
== Services ==  
* Added the {{Style=Identifier|IEasyUAClientConnectionControl}} service on the {{Style=Identifier|EasyUAClient}} component. It provides methods to control the OPC UA client connections to the server, and contains methods like {{Style=Identifier|LockConnection}} and {{Style=Identifier|UnlockConnection}}. When the connection is locked, the component will attempt to open it and keep open, and will not automatically disconnect from the server after the connection is unused for certain time. The service is also available via COM, as {{Style=Identifier|_EasyUAClientConnectionControl}} interface. In .NET, it is also possible to use the {{Style=Identifier|DisposableLockConnection}} extension method, which works nicely with "using" statements in C# and VB.NET.
* Added the {{Style=Identifier|IEasyUAClientConnectionControl}} service on the {{Style=Identifier|EasyUAClient}} component. It provides methods to control the OPC UA client connections to the server, and contains methods like {{Style=Identifier|LockConnection}} and {{Style=Identifier|UnlockConnection}}. When the connection is locked, the component will attempt to open it and keep open, and will not automatically disconnect from the server after the connection is unused for certain time. The service is also available via COM, as {{Style=Identifier|_EasyUAClientConnectionControl}} interface. In .NET, it is also possible to use the {{Style=Identifier|DisposableLockConnection}} extension method, which works nicely with "using" statements in C# and VB.NET.

Revision as of 10:38, 23 November 2021

See also: Versions; Previous version: What's new in QuickOPC 2021.3

Internal version number: 5.63

Key changes:


Component Improvements

COM Components

  • Updated QuickOpc.h include file (Microsoft C++) for use with ISO C++ 20 Standard.

Component Refactorings

OPC UA

  • The ServerConditionChanged event, previously available on the IEasyUAClient interface, has been moved to a new service, IEasyUAClientConnectionMonitoring, available from the EasyUAClient component. The service is also available via COM, as _EasyUAClientConnectionMonitoring interface.

Examples

OPC UA Client-Server

  • Added a C# example showing how to lock and unlock connections to an OPC UA server, using the new IEasyUAClientConnectionControl service.
  • Added a C# example showing how to register an unregister nodes in an OPC UA server, using the new IEasyUAClientNodeRegistration service.
  • Added a VBScript example showing how to connections to and disconnections from the OPC UA server, using the IEasyUAClientConnectionMonitoring service and the event pull mechanism.