![]() SomeAddress = Address(NodeId("iBucket Brigade.String", # NodeId identifier M圜lient = Client(ClientSettings("m圜lient", )) I successfully build the PyUAF stuff on Linux and I started to run a simple example.Īfter instantiation of the client, I am receiving successfully a pyUAF client: ![]() OPC DA Server (Matricon OPC Simulation).The same code simplicity is maintained in other programming languages, such as Visual Basic (VB.NET).I have the following constellation under test: No other product can do this in such a clear and concise code, in a single statement! The programming is straightforward, and the developer can focus on getting the work done and not on fighting the intricacies of OPC protocols. The code below subscribes to changes of an item, and displays the value with each change: // The callback is a lambda expression that displays the valueĮ( "", "Dynamic/Analog Types/Int" ).ToString()) Read item value and display it in a message box It works in multiple versions of Microsoft Visual Studio. The code below (in C# language) connects to an OPC XML-DA server, and reads and displays an item value, using the QuickOPC.NET component. In many cases, the only difference you will not is that the OPC XML servers are identified by their URL, and not by their ProgID/CLSID and the computer they reside on. This means that you can write your code without making a distinction between the underlying technologies, and mix OPC COM and OPC XML freely, even in a single method call. In additional, due to the similarities between OPC XML-DA and the COM/DCOM-based OPC-DA, we have generalized our component to work with both these specifications in the same way (in most cases). Useful links: Documentation / Examples / Knowledge BaseĪs usual in QuickOPC, we have strived for providing a concise API that will allow you to achieve your goals in quickly. You can develop OPC clients with XML data access capabilities easily with help of QuickOPC components. OPC XML-DA is fully and transparently supported by QuickOPC. There is, however, a large installed base of OPC XML-DA servers. ![]() Note: For newer installations, OPC Unified Architecture (OPC-UA) provides a superset of OPC XML-DA functionality. OPC XML Data Access (OPC XML-DA) is the OPC Foundations's adoptions of the XML set of technologies to facilitate the exchange of plant data across the Internet, and upwards into the enterprise domain. XML is a technology that is readily available across a wide range of platforms, and the OPC XML-DA is not tied to Microsoft COM/DCOM as the other OPC "Classic" specifications are. The current version of the OPC XML-DA specification is 1.01. The OPC XML-DA (Data Access) specification builds on the OPC Data Access specifications to communicate data in XML. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |