Value range of data points

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
n.kuehl
Posts:28
Joined: Mon Mar 18, 2019 9:35 am

Value range of data points

Post by n.kuehl »

Hello,

I'm calculating a percent-value with a _dp_fct and set the limits of the dp value with _pv_range between 0 and 100.
I did think: If the calculated percent-value goes negative, the value stops at zero and if it goes above 100 it stops at 100. That is the case but also an error is generated. That's bad because the log gets littered.
Am I doing it right? Is there a better way?

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

Re: Value range of data points

Post by leoknipp »

If you want to avoid that a value is set by the DP function you can call the function removeDoneCB().
In your function which is called to calculate the percent value you can check the value range and then call removeDoneCB() if the calculated value is outside of the range.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1