OpcLabs.QuickOpc.Sample.VB
5.80.347
Prefix Reserved
dotnet add package OpcLabs.QuickOpc.Sample.VB --version 5.80.347
NuGet\Install-Package OpcLabs.QuickOpc.Sample.VB -Version 5.80.347
<PackageReference Include="OpcLabs.QuickOpc.Sample.VB" Version="5.80.347" />
paket add OpcLabs.QuickOpc.Sample.VB --version 5.80.347
#r "nuget: OpcLabs.QuickOpc.Sample.VB, 5.80.347"
// Install OpcLabs.QuickOpc.Sample.VB as a Cake Addin #addin nuget:?package=OpcLabs.QuickOpc.Sample.VB&version=5.80.347 // Install OpcLabs.QuickOpc.Sample.VB as a Cake Tool #tool nuget:?package=OpcLabs.QuickOpc.Sample.VB&version=5.80.347
QuickOPC
- NuGet package: OpcLabs.QuickOPC
- Python package: opclabs_quickopc
QuickOPC is a suite of OPC Client/Subscriber Development Components for .NET, COM and Python. 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 or Python packages are primarily a tool for resolving build-time dependencies. The amount of functionality that you get through QuickOPC NuGet or Python 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.2, .NET Core 3.1 or .NET 6.0 as a minimum. Under .NET Core and .NET 6.0+, it is supported on Linux, macOS and Microsoft Windows. QuickOPC can also be easily used from Python.
PLEASE DO NOT USE PRE-RELEASE PACKAGES UNLESS INSTRUCTED TO DO SO.
List of available NuGet/Python packages
OpcLabs.QuickOpc/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/Python packages
- Runtime assemblies for all OPC specifications and programming models.
- OPC browsing dialogs and browsing controls for Windows Forms.
- NuGet: IntelliSense support (XML comments).
- NuGet: 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
C#:
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");
Python:
import opclabs_quickopc
from OpcLabs.EasyOpc.UA import *
client = EasyUAClient()
value = IEasyUAClientExtension.ReadValue(client,
UAEndpointDescriptor('opc.tcp://opcua.demo-this.com:51210/UA/SampleServer'),
UANodeDescriptor('nsu=http://test.org/UA/Data/ ;i=10853'))
Examples on GitHub
- OPC client and subscriber examples in Python: https://github.com/OPCLabs/Examples-QuickOPC-Python .
Using the example packages (NuGet)
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.
Learn more about Target Frameworks and .NET Standard.
-
- OpcLabs.QuickOpc (= 5.80.347)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.80.347 | 127 | 8/25/2024 |
5.80.277 | 92 | 7/7/2024 |
5.72.1044 | 186 | 1/26/2024 |
5.71.401 | 295 | 10/2/2023 |
5.70.1352 | 368 | 8/29/2023 |
5.63.246 | 647 | 6/18/2022 |
5.62.1032 | 716 | 1/18/2022 |
5.61.343 | 510 | 8/25/2021 |
5.60.107 | 558 | 3/15/2021 |
5.59.1055 | 534 | 2/6/2021 |
5.58.451 | 659 | 11/3/2020 |
5.57.125 | 736 | 3/21/2020 |
5.56.1073 | 690 | 2/13/2020 |
5.54.1311 | 811 | 7/29/2019 |
5.53.405 | 1,018 | 10/5/2018 |
5.52.184 | 1,102 | 5/3/2018 |
5.51.465 | 1,082 | 11/10/2017 |
5.50.334 | 1,179 | 8/10/2017 |
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 .