Calculated Fields

by camel

Downloads: 23,628 (9) • Reviews: 4

Version:

1.2.9.4

Updated:

Apr 11, 2011

RANGEPOWER giving weird results

RANGEPOWER giving weird results

Postby pixy » Fri May 04, 2012 4:47 pm

Hi,

I am using an expression that looks like this :

{RANGEPOWER(HR,155,164)}

If an activity is not having a period in which the HR is in this zone it simply gives an erroneous number as return.
Is this a known bug? Or do I miss something here?

Thanks for your help!
Stefan
pixy
 
Posts: 50
Joined: Wed Apr 11, 2012 1:47 am

Re: RANGEPOWER giving weird results

Postby camel » Sun May 06, 2012 3:30 pm

I haven't tried it with power, because I don't have activities with power.

But It simply returns me zero, if I create range outside of activity zones?
camel
Donated!
Donated!
 
Posts: 363
Joined: Tue May 18, 2010 7:14 am
Location: Slovakia

Re: RANGEPOWER giving weird results

Postby pixy » Sun May 06, 2012 4:51 pm

if you send me you private email address I'll send you a fitlog file which is generating this error.
pixy
 
Posts: 50
Joined: Wed Apr 11, 2012 1:47 am

Re: RANGEPOWER giving weird results

Postby camel » Tue May 08, 2012 4:30 am

Just for other users:
if you look very carefully on your activity, there is an very small part of activity in 53minute, where you HR is above 155,
so plugin has calculated power for this small part.

And it's near 354 of power, so all looks good for me? If i raise lower boundary to 160, it simply returns 0 power

So from my view all looks correct.
Nice day
Peter
camel
Donated!
Donated!
 
Posts: 363
Joined: Tue May 18, 2010 7:14 am
Location: Slovakia

Re: RANGEPOWER giving weird results

Postby pixy » Wed May 09, 2012 3:30 am

Peter,

I was just about to update this one as well. Thanks for your help!! It is working like a charme.

I added (with Peters help) a condition that makes peak situations not showing....

{DATATRACK}.Where(o => o.HR >= 155 && o.HR <= 164).Count() >= 300

Cheers
Stefan
pixy
 
Posts: 50
Joined: Wed Apr 11, 2012 1:47 am


Return to Calculated Fields

Who is online

Users browsing this forum: No registered users and 2 guests