OpcLabs.QuickOpc
5.56.0-rev17
Rapid OPC client development. Supports OPC Data Access, XML-DA, Alarms&Events and Unified Architecture (OPC UA). Allows procedural coding, live binding (code-less development), live mapping, and reactive programming models. Works with .NET Framework and .NET Standard on Microsoft Windows and Linux.
See the version list below for details.
Install-Package OpcLabs.QuickOpc -Version 5.56.0-rev17
dotnet add package OpcLabs.QuickOpc --version 5.56.0-rev17
<PackageReference Include="OpcLabs.QuickOpc" Version="5.56.0-rev17" />
paket add OpcLabs.QuickOpc --version 5.56.0-rev17
QuickOPC
QuickOPC is a suite of OPC Client Development Components for COM and .NET.
These components are for OPC "Classic" (COM/DCOM-based), OPC XML-DA, and OPC
Unified Architecture (Web service-based) specifications.
QuickOPC is a commercially licensed product. Without a license key, it runs
in a trial mode. The trial provides valid data to a client application for 30
minutes; after that period, the component (your app) needs to be re-started,
and so on. You must also comply with licensing terms for 3rd-party material
redistributed with QuickOPC. For details, see the documentation.
Remember that NuGet is primarily a tool for resolving build-time
dependencies. The amount of functionality that you get through QuickOPC NuGet
packages is smaller than what QuickOPC can actually do for you. If you want a
full coverage of the features, you would be better off downloading the Setup
program from OPC Labs Web site. Further below you will find a list of
differences between the two distribution forms.
QuickOPC requires .NET Framework 4.7 or .NET Core 2.1.2 as a minimum. Under
.NET Core, it is supported on Linux and Microsoft Windows.
List of available NuGet packages
-
OpcLabs.QuickOpc: OPC client components for all environments and project
types. -
OpcLabs.QuickOpc.Forms: Components that are specific for Windows Forms (can
be partially used from WPF as well). -
OpcLabs.QuickOpc.Sample.CS: Console-based QuickOPC examples in C# (source
code). -
OpcLabs.QuickOpc.Sample.VB: Console-based QuickOPC examples in VB.NET
(source code).
What is included in the NuGet packages
- Runtime assemblies for all OPC specifications and programming models.
- OPC browsing dialogs and browsing controls for Windows Forms.
- IntelliSense support (XML comments).
- LINQPad examples.
What is only available from the Setup program
- Support for COM development (VB6, PHP, Excel, Delphi and similar tools).
- Documentation and Help.
- Visual Studio integration, including Live Binding design-time support (codeless creation of OPC applications).
- Complete set of Examples and Demo applications, bonus material.
- OPC Data Access simulation server, test tools.
What is only available from the Setup program or the Web site
Web site link - additional files
- Tools: Connectivity Explorer, Launcher.
- License Manager (GUI or console-based) utility.
How to start
If you do not mind reading the documentation: Getting Started.
Or, the whole User's Guide.
Otherwise, just instantiate one of the following objects (depending on the
OPC specification), and explore its methods:
OpcLabs.EasyOpc.DataAccess.EasyDAClient
(for OPC DA, OPC XML-DA)OpcLabs.EasyOpc.AlarmsAndEvents.EasyAEClient
(for OPC A&E)OpcLabs.EasyOpc.UA.EasyUAClient
(for OPC Unified Architecture)
Example code
using OpcLabs.EasyOpc.UA;
...
var client = new EasyUAClient();
object value = client.ReadValue(
"opc.tcp://opcua.demo-this.com:51210/UA/SampleServer",
"nsu=http://test.org/UA/Data/;i=10853");
Using the example packages
In order to run the code from console-based example packages, you need to
call it from your project. The examples are organized by the OPC
specification, and each example is a static method that you can directly
invoke. For easier exploration, there are also methods that provide the user
with a menu of methods to choose from.
For OPC Alarms&Events examples, call method: DocExamples.AlarmsAndEvents.AEExamplesMenu.Main1
For OPC Data Access and XML-DA examples, call method: DocExamples.DataAccess.DAExamplesMenu.Main1
For OPC Unified Architecture examples, call method: UADocExamples.UAExamplesMenu.Main1
Alternatively, you can call just a single selected example, e.g. for reading
an OPC UA node, call the UADocExamples._EasyUAClient.Read.Main1
method.
QuickOPC
QuickOPC is a suite of OPC Client Development Components for COM and .NET.
These components are for OPC "Classic" (COM/DCOM-based), OPC XML-DA, and OPC
Unified Architecture (Web service-based) specifications.
QuickOPC is a commercially licensed product. Without a license key, it runs
in a trial mode. The trial provides valid data to a client application for 30
minutes; after that period, the component (your app) needs to be re-started,
and so on. You must also comply with licensing terms for 3rd-party material
redistributed with QuickOPC. For details, see the documentation.
Remember that NuGet is primarily a tool for resolving build-time
dependencies. The amount of functionality that you get through QuickOPC NuGet
packages is smaller than what QuickOPC can actually do for you. If you want a
full coverage of the features, you would be better off downloading the Setup
program from OPC Labs Web site. Further below you will find a list of
differences between the two distribution forms.
QuickOPC requires .NET Framework 4.7 or .NET Core 2.1.2 as a minimum. Under
.NET Core, it is supported on Linux and Microsoft Windows.
List of available NuGet packages
-
OpcLabs.QuickOpc: OPC client components for all environments and project
types. -
OpcLabs.QuickOpc.Forms: Components that are specific for Windows Forms (can
be partially used from WPF as well). -
OpcLabs.QuickOpc.Sample.CS: Console-based QuickOPC examples in C# (source
code). -
OpcLabs.QuickOpc.Sample.VB: Console-based QuickOPC examples in VB.NET
(source code).
What is included in the NuGet packages
- Runtime assemblies for all OPC specifications and programming models.
- OPC browsing dialogs and browsing controls for Windows Forms.
- IntelliSense support (XML comments).
- LINQPad examples.
What is only available from the Setup program
- Support for COM development (VB6, PHP, Excel, Delphi and similar tools).
- Documentation and Help.
- Visual Studio integration, including Live Binding design-time support (codeless creation of OPC applications).
- Complete set of Examples and Demo applications, bonus material.
- OPC Data Access simulation server, test tools.
What is only available from the Setup program or the Web site
Web site link - additional files
- Tools: Connectivity Explorer, Launcher.
- License Manager (GUI or console-based) utility.
How to start
If you do not mind reading the documentation: Getting Started.
Or, the whole User's Guide.
Otherwise, just instantiate one of the following objects (depending on the
OPC specification), and explore its methods:
OpcLabs.EasyOpc.DataAccess.EasyDAClient
(for OPC DA, OPC XML-DA)OpcLabs.EasyOpc.AlarmsAndEvents.EasyAEClient
(for OPC A&E)OpcLabs.EasyOpc.UA.EasyUAClient
(for OPC Unified Architecture)
Example code
using OpcLabs.EasyOpc.UA;
...
var client = new EasyUAClient();
object value = client.ReadValue(
"opc.tcp://opcua.demo-this.com:51210/UA/SampleServer",
"nsu=http://test.org/UA/Data/;i=10853");
Using the example packages
In order to run the code from console-based example packages, you need to
call it from your project. The examples are organized by the OPC
specification, and each example is a static method that you can directly
invoke. For easier exploration, there are also methods that provide the user
with a menu of methods to choose from.
For OPC Alarms&Events examples, call method: DocExamples.AlarmsAndEvents.AEExamplesMenu.Main1
For OPC Data Access and XML-DA examples, call method: DocExamples.DataAccess.DAExamplesMenu.Main1
For OPC Unified Architecture examples, call method: UADocExamples.UAExamplesMenu.Main1
Alternatively, you can call just a single selected example, e.g. for reading
an OPC UA node, call the UADocExamples._EasyUAClient.Read.Main1
method.
Release Notes
Changes made in released versions are described here: http://kb.opclabs.com/What's_New .
Table of all versions, with their basic requirements: http://kb.opclabs.com/Versions .
Dependencies
-
.NETCoreApp 2.1
- Microsoft.Extensions.Configuration.Binder (>= 3.0.0)
- Microsoft.Extensions.Configuration.Json (>= 3.0.0)
- Microsoft.Extensions.PlatformAbstractions (>= 1.1.0)
- OPCFoundation.NetStandard.Opc.Ua (= 1.4.357.28)
- System.ComponentModel.Annotations (>= 4.6.0)
- System.Configuration.ConfigurationManager (>= 4.6.0)
- System.ServiceModel.Duplex (>= 4.6.0)
- System.ServiceModel.Http (>= 4.6.0)
- System.ServiceModel.NetTcp (>= 4.6.0)
- System.ServiceModel.Primitives (>= 4.6.0)
- System.ServiceModel.Security (>= 4.6.0)
-
All Frameworks
- No dependencies.
GitHub Usage
This package is not used by any popular GitHub repositories.