logo-opclabs-new

Professional OPC Development Tools

opc logo

PowerBuilder

Are you having difficulties incorporating OPC data into your PowerBuilder solution? Need to create a OPC PowerScript program quickly and in quality? If so, QuickOPC comes to the rescue. PowerBuilder programs can now connect to OPC servers with ease.

QuickOPC is a set of components that simplify the task of integrating OPC client functionality into applications. Reading a value from OPC Data Access or OPC Unified Architecture (OPC UA) server, or writing a data value can be achieved in just one or two lines of code!

QuickOPC is a radically new approach to access OPC data. Traditionally, OPC programming required complicated code, no matter whether you use OPC custom or automation interfaces. OPC Server objects must be instantiated, OPC Group objects must be created and manipulated, OPC Items must be added and managed properly, and subscriptions must be established and maintained. Too many lines of error-prone code must be written to achieve a simple goal – reading or writing a value. QuickOPC saves you all that hassle.

QuickOPC can also connect to OPC UA (Universal Architecture) servers.

QuickOPC Price List

Read More

Code Samples

QuickOPC is unbelievably easy to use - here is a PowerScript example which reads and displays OPC data from a common OPC server:

OLEObject client
client = CREATE OLEObject
client.ConnectToNewObject("OpcLabs.EasyOpc.DataAccess.EasyDAClient")
MessageBox("Result",String(client.ReadItemValue("", "OPCLabs.KitServer.2", "Demo.Ramp")))

Or, using OPC-UA (Unified Architecture):

OLEObject client
client = CREATE OLEObject
client.ConnectToNewObject("OpcLabs.EasyOpc.UA.EasyUAClient")
MessageBox("Result", String(client.ReadValue("http://opcua.demo-this.com:51211/UA/SampleServer", "nsu=http://test.org/UA/Data/;i=10853")))

Do you think it can be any simpler? But the simplicity of the resulting PowerScript code is not the only advantage; the component is also very powerful. Using complex heuristic algorithms to optimize itself on the fly, it provides the most efficient, fastest access to the OPC data.

Useful links: Examples