Hi. > > So what i really need is a function to integrate the > > function of received energy. [...] > > DEF:Ls=Light.rrd:D1:AVERAGE > > CDEF:E=PREV,Ls,60,*,+ > > LINE:E#FF0000 > > > > but it wont work .. E is allways 0 or not defined [...] > There are two different PREV functions. I think you need > the other one.
Ok.. i changed the lines above to: DEF:Ls=Light.rrd:D1:AVERAGE CDEF:E=PREV(E),Ls,60,*,+ LINE:E#FF0000 [i think you meant the PREV(vname)-function described on the manual-pages..] But after doing that, rrdtool fails with: "ERROR: invalid rpn expression in: PREV(E),Ls,60,*,+" PREV(Ls) ... using it with a DEF'ed dataset works fine, but not with a CDEF'ed vname... kind of confusing when reading the webpage. Maybe its a bug ? My problem still remains .. :( Cu Rene. _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
