Hi there
I'd like to create a new EWO that shows an Icon. The shown Icon depends on the value of a specific datapoint. If the datapoint value changes, the Icon changes too.
To minimize the effort using this widget later on, I'd lilke to call the dpGet() function directly from the EWO.
The goal is that I can give some parameters (for example the needed Datapoint and the path of the icons) to the EWO and it does the rest for itself.
Is it possible to call the dpGet function directly form an EWO and does this also work with the ULC UX Framework?
Call dpSet from an EWO
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Call dpSet from an EWO
An EWO is an external widget, so it does not provide any WinCC OA functionality. It is only a graphical object.
To mimize the effort to use the widget later, you could prepare a panel and use this panel as an object in other panels. In this panel you could use a dpConnect and set the icon value.
With ULC UX pixels are transferred from the server to the client, so as long as the EWO does not repaint itself continuously it should work also with ULC UX.
To mimize the effort to use the widget later, you could prepare a panel and use this panel as an object in other panels. In this panel you could use a dpConnect and set the icon value.
With ULC UX pixels are transferred from the server to the client, so as long as the EWO does not repaint itself continuously it should work also with ULC UX.