Infinite loop in dp_fct

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
nedzad
Posts:32
Joined: Fri Feb 17, 2017 3:44 pm

Infinite loop in dp_fct

Post by nedzad »

Hello,

I'm having the following log-message in PVSS_II.log-file:

SysSarani:OA-OS2.A13.cmd.bit.b3:_dp_fct, EvDpManager::, handleDpFuncHL #1, check dp function


On this link I found the explanation for this message, but it seems that neither of those two mentioned reasons is causing the infinite loop in my case.

As I can see, all datapoint elements that refer to the same datapoint element in their dp functions are reporting this error, e.g. when dp-function at datapoint-element A reacts on changes at datapoint-element C, and dp-function at datapoint-element B also reacts on changes at datapoint-element C, both the dp-element A and dp-element B are reporting infinite loop.

Any help would be appreciated.

Best regards
Nedžad

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

Re: Infinite loop in dp_fct

Post by leoknipp »

Hello,

in the part of the log message you have copied to the posting I cannot see the information for an "infinite loop".
Can you please copy the complete content of the log message.

Best Regards
Leopold Knipp
Senior Support Specialist

nedzad
Posts:32
Joined: Fri Feb 17, 2017 3:44 pm

Re: Infinite loop in dp_fct

Post by nedzad »

Sorry, here it is:

WCCILevent (0), 2017.05.04 11:05:35.889, PARAM,SEVERE, 92, DP functions: infinite loop found, DP: SysSarani:OA-OS2.A13.cmd.bit.b3:_dp_fct, EvDpManager::, handleDpFuncHL #1, check dp function

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

Re: Infinite loop in dp_fct

Post by leoknipp »

Most of the time the dp function is called several times with values with the same time stamp leading to the log message.
Did you check the value + timestamp for the dp elements which are triggering the dp function?

E.g. this can be done with a CTRL script doing a dpConnect for _online.._value and _online.._stime.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1