Update DP type _dpGroup

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
eMichx
Posts:64
Joined: Thu Apr 24, 2014 11:24 am

Update DP type _dpGroup

Post by eMichx »

Hello,

I have a "dpQuery" function, connected to a DP with a type "_dpGroup", named _DpGroup00017_Public
When a DPE listed in the _DpGroup00017_Public.dps, has its value changing, the callback is called as expected.
But, when I add a new DPE in _DpGroup00017_Public.dps list (with "setGroupFilter" function), after the dpConnect.
When the new DPE's value is changing, the callback is not called.

Is it possible to update the list and keep the callback active?

regards
Emmanuel

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Update DP type _dpGroup

Post by leoknipp »

Hello,

I made a test with a dpQueryConnect and a filter for a dp group.
If the configuration of the dp group is changed a hotlink is received with those dp-elements which have been added to the dp group.
Therefore it is possible to change the dp group during runtime of a query connect.

I couldn't find a function called setGroupFilter() in WinCC OA.
Have you defined this function on your own?

Best Regards
Leopold Knipp
Senior Support Specialist

eMichx
Posts:64
Joined: Thu Apr 24, 2014 11:24 am

Re: Update DP type _dpGroup

Post by eMichx »

Hello,

setGroupFilter function is defined in the dpGroups.ctl library (included in WinCC OA 3.12)

regards
Emmanuel

3 posts • Page 1 of 1