Call dpSet from an EWO

Discussion about recent product features & solutions!
2 posts • Page 1 of 1
kelain
Posts:1
Joined: Thu Nov 09, 2017 8:07 am

Call dpSet from an EWO

Post by kelain »

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?

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Call dpSet from an EWO

Post by Gertjan van Schijndel »

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.

2 posts • Page 1 of 1