The examples in Object Pascal are currently provided for Delphi 10.3. In case you are not able to directly load the projects into earlier versions of Delphi, the actual source code is likely to work just well with no or minor modifications, so you just need to re-create the "envelope" project files.
In earlier versions, we have tested the examples with Delphi XE7, and also briefly with Delphi XE8 and Delphi 10 Seattle. In OPC Data Client 2019.2, we have tested the examples with Delphi 10.3 Rio (10.3.2).
- DocExamples: Contains all Delphi examples for OPC Classic that are given in the Reference documentation.
- EasyOpcUADemo: Shows how to make a desktop windowed OPC UA client application, mimicking the example that is available in C# and VB.NET. The application demos the most important product functions, including event-based subscriptions.
- Imports: Contains Delphi components created by importing OPC Data Client type libraries.
- ReadAndDisplayValue: The simplest form. Reads and displays an OPC item value.
- UADocExamples: Contains all Delphi examples for OPC-UA that are given in the Reference documentation.
See Also