<div dir="ltr">Alex;<div><br></div><div>That's my point.</div><div><br></div><div>I am trying to locate the first non NAN value.</div><div><br></div><div>For me to specify the time period would defeat the purpose ..... ?</div>
<div><br>Warmest Regards<br>Steven Sim<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 4, 2014 at 4:56 PM, Alex van den Bogaerdt <span dir="ltr"><<a href="mailto:alex@vandenbogaerdt.nl" target="_blank">alex@vandenbogaerdt.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Hello;<br>
><br>
> I don't think is suppose to happen.<br>
><br>
> FIRST sued in VDEF context is supposed to provide the first non NAN value<br>
> for the selected data stream<br>
><br>
> And yet I'm getting ..<br>
><br>
> $ rrdtool graph placeholder.png DEF:CPUBusyx=mydata.rrd:CPUBusy:AVERAGE<br>
> VDEF:CPUBusyFirst=CPUBusyx,FIRST "PRINT:CPUBusyFirst:%18.5lf"<br>
> 0x0<br>
> -nan<br>
<br>
The code returns NaN if there is only NaN available. In that case it also<br>
returns time zero. Please print the time component and look at this.<br>
<br>
Retry your example with a specific start and end time, on data which you<br>
know to be known.<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div></div></div>