OpcLabs.QuickOpc
5.63.0-rev3
Prefix Reserved
See the version list below for details.
Install-Package OpcLabs.QuickOpc -Version 5.63.0-rev3
dotnet add package OpcLabs.QuickOpc --version 5.63.0-rev3
<PackageReference Include="OpcLabs.QuickOpc" Version="5.63.0-rev3" />
paket add OpcLabs.QuickOpc --version 5.63.0-rev3
#r "nuget: OpcLabs.QuickOpc, 5.63.0-rev3"
// Install OpcLabs.QuickOpc as a Cake Addin
#addin nuget:?package=OpcLabs.QuickOpc&version=5.63.0-rev3&prerelease
// Install OpcLabs.QuickOpc as a Cake Tool
#tool nuget:?package=OpcLabs.QuickOpc&version=5.63.0-rev3&prerelease
OpcLabs.QuickOPC
QuickOPC is a suite of OPC Client/Subscriber Development Components for COM and .NET. These components are for OPC "Classic" (COM/DCOM-based), OPC XML-DA, and OPC Unified Architecture (including OPC UA PubSub) specifications.
QuickOPC is a commercially licensed product. Without a license key, it runs in a trial mode. The trial provides valid data to client or subscriber applications 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, .NET Core 3.1 or .NET 5.0 as a minimum. Under .NET Core and .NET 5.0+, it is supported on Linux, macOS and Microsoft Windows.
PLEASE DO NOT USE PRE-RELEASE PACKAGES UNLESS INSTRUCTED TO DO SO.
List of available NuGet packages
OpcLabs.QuickOpc: OPC client and subscriber 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
Knowledge Base link - Tool Downloads
- Various tools, such as Connectivity Explorer, Launcher, OPC UA Demo Publisher, OpcCmd Utility, UA Configuration Tool.
- 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)OpcLabs.EasyOpc.UA.PubSub.EasyUASubscriber
(for OPC UA PubSub)
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 examples, call method: DocExamples.DataAccess.DAExamplesMenu.Main1
For OPC XML-DA examples, call method: DocExamples.DataAccess.Xml.XmlExamplesMenu.Main1
For OPC Unified Architecture examples, call method: UADocExamples.UAExamplesMenu.Main1
For OPC UA PubSub examples, call method: UADocExamples.PubSub.PubSubExamplesMenu.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.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.1 |
.NET Framework | net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.7
- Microsoft.Extensions.Caching.Memory (>= 5.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 5.0.0)
- Microsoft.Extensions.Hosting (>= 5.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 5.0.0)
- Microsoft.Extensions.PlatformAbstractions (>= 1.1.0)
-
.NETStandard 2.1
- Microsoft.Extensions.Caching.Memory (>= 5.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Microsoft.Extensions.Hosting (>= 5.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 5.0.0)
- Microsoft.Extensions.PlatformAbstractions (>= 1.1.0)
- Microsoft.Win32.Registry (>= 5.0.0)
- OPCFoundation.NetStandard.Opc.Ua.Client (= 1.4.363.107)
- OPCFoundation.NetStandard.Opc.Ua.Configuration (= 1.4.363.107)
- OPCFoundation.NetStandard.Opc.Ua.Core (= 1.4.363.107)
- System.ComponentModel.Annotations (>= 4.6.0)
- System.Configuration.ConfigurationManager (>= 4.6.0)
- System.Diagnostics.EventLog (>= 5.0.0)
- System.Drawing.Common (>= 4.7.0)
- System.Drawing.Primitives (>= 4.3.0)
- System.ServiceModel.Duplex (>= 4.6.0)
- System.ServiceModel.Http (>= 4.6.0)
- System.ServiceModel.NetTcp (>= 4.6.0)
- System.ServiceModel.Primitives (>= 4.7.0)
- System.ServiceModel.Security (>= 4.6.0)
-
All Frameworks
- No dependencies.
NuGet packages (7)
Showing the top 5 NuGet packages that depend on OpcLabs.QuickOpc:
Package | Downloads |
---|---|
OpcLabs.QuickOpc.Forms
Windows Forms features of QuickOPC. OPC client browsing dialogs and browsing controls, and live binding runtime. OPC DA, OPC A&E, OPC UA, PubSub. |
|
OpcLabs.QuickOpc.Sample.CS
Console-based QuickOPC examples in C# (source code). Rapid OPC client development. Supports OPC Data Access, XML-DA, Alarms&Events and Unified Architecture (OPC UA), including PubSub. |
|
OpcLabs.QuickOpc.Sample.VB
Console-based QuickOPC examples in VB.NET (source code). Rapid OPC client development. Supports OPC Data Access, XML-DA, Alarms&Events and Unified Architecture (OPC UA), including PubSub. |
|
OpcLabs.MqttNet
Provides MQTT communication features, using the MQTTnet library and its extensions. Use with OpcLabs.QuickOpc for OPC UA PubSub transport protocol mappings based on MQTT. |
|
OpcLabs.UAPubSubJson
When used with OPC UA PubSub in QuickOPC, provides JSON mapping (e.g. in MQTT messages). |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.63.194 | 317 | 5/12/2022 |
5.62.1032 | 3,081 | 1/18/2022 |
5.61.343 | 2,418 | 8/25/2021 |
5.60.107 | 4,306 | 3/15/2021 |
5.59.1055 | 4,514 | 2/6/2021 |
5.58.451 | 8,929 | 11/3/2020 |
5.57.125 | 1,757 | 3/21/2020 |
5.56.1073 | 1,101 | 2/13/2020 |
5.55.433 | 1,823 | 10/24/2019 |
5.54.1311 | 2,257 | 7/29/2019 |
5.53.405 | 2,550 | 10/5/2018 |
5.52.184 | 1,495 | 5/3/2018 |
5.51.465 | 1,590 | 11/10/2017 |
5.50.334 | 1,692 | 8/10/2017 |
5.41.1275 | 1,256 | 6/30/2017 |
5.40.315 | 1,861 | 7/29/2016 |
Changes made in released versions are described here: http://kb.opclabs.com/What%27s_New .
Table of all versions, with their basic requirements: http://kb.opclabs.com/Versions .