<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Please consider adding a totalizer function - Torque main forum				            </title>
            <link>https://torque-bhp.com/community/main-forum/please-consider-adding-a-totalizer-function/</link>
            <description>Torque Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 15 Aug 2026 12:48:35 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36096</link>
                        <pubDate>Mon, 03 Oct 2016 19:54:13 +0000</pubDate>
                        <description><![CDATA[Good point - I&#039;d missed that in the wiki page!!

A floating widget would cause the lookups to continue, yes, though logging might be better as then you don&#039;t clutter your screen up]]></description>
                        <content:encoded><![CDATA[Good point - I'd missed that in the wiki page!!

A floating widget would cause the lookups to continue, yes, though logging might be better as then you don't clutter your screen up]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>piemmm</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36096</guid>
                    </item>
				                    <item>
                        <title>RE: Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36056</link>
                        <pubDate>Sun, 02 Oct 2016 10:45:06 +0000</pubDate>
                        <description><![CDATA[I mentioned the fact about the colon
because your changelog and wiki examples
are using commas which doesn&#039;t work.

So a floating widget would be the way
to continue polling the value p...]]></description>
                        <content:encoded><![CDATA[I mentioned the fact about the colon
because your changelog and wiki examples
are using commas which doesn't work.

So a floating widget would be the way
to continue polling the value precisely
if not logging?

 https://torque-bhp.com/wiki/Equations]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>Capp777</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36056</guid>
                    </item>
				                    <item>
                        <title>RE: Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36054</link>
                        <pubDate>Sun, 02 Oct 2016 09:58:56 +0000</pubDate>
                        <description><![CDATA[Hi

Yes - the &#039;:&#039; separator is used because some countries use commas for their decimal separator (and that makes things more than a little problematic)

The tot function adding up when ...]]></description>
                        <content:encoded><![CDATA[Hi

Yes - the ':' separator is used because some countries use commas for their decimal separator (and that makes things more than a little problematic)

The tot function adding up when not on screen is more a symptom of how it works with the delta function - the display *will* stop being polled when not visible (unless it's being logged) and when you return to it, the delta is sufficiently large from the last to next read that it "catches" up]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>piemmm</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36054</guid>
                    </item>
				                    <item>
                        <title>RE: Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36051</link>
                        <pubDate>Sun, 02 Oct 2016 01:05:09 +0000</pubDate>
                        <description><![CDATA[Currently testing 1.8.119 and noticed that
I cannot test or save

tot(60:600)   note the coma didn&#039;t work colon did!

without adding + abs(0)

Yielded PID cannot be empty...

Otherw...]]></description>
                        <content:encoded><![CDATA[Currently testing 1.8.119 and noticed that
I cannot test or save

tot(60:600)   note the coma didn't work colon did!

without adding + abs(0)

Yielded PID cannot be empty...

Otherwise its looking good so far. I especially
like how it continues totalizing when changing
screens.

Thank you Ian.

It will be interesting totalizing MPH and fuel
rate!]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>Capp777</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36051</guid>
                    </item>
				                    <item>
                        <title>RE: Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36048</link>
                        <pubDate>Sat, 01 Oct 2016 13:48:54 +0000</pubDate>
                        <description><![CDATA[Done, done and done.  

Please check the totalizer function]]></description>
                        <content:encoded><![CDATA[Done, done and done.  

Please check the totalizer function]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>piemmm</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36048</guid>
                    </item>
				                    <item>
                        <title>RE: Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36036</link>
                        <pubDate>Fri, 30 Sep 2016 08:48:44 +0000</pubDate>
                        <description><![CDATA[Two more come to mind...

Delay(Time Amount, Value)

A delay function where data goes into a
queue and is time delayed by a user
specified time amount before coming out. This
would be...]]></description>
                        <content:encoded><![CDATA[Two more come to mind...

Delay(Time Amount, Value)

A delay function where data goes into a
queue and is time delayed by a user
specified time amount before coming out. This
would be useful when dealing with process
lag times.

------- 5 4 3 2 1 ---»
5 4 3 2 1 * * * ---»

* delay period

Filter(Filter Constant, Value)

A filter function using EWMA for dealing with
noisey signals. Your new averaging functions
should be very helpful with this.


Thanks for listening to your users!

Edited.]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>Capp777</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36036</guid>
                    </item>
				                    <item>
                        <title>RE: Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36035</link>
                        <pubDate>Fri, 30 Sep 2016 07:24:59 +0000</pubDate>
                        <description><![CDATA[Hi!

Done - just need to finish testing(as it was a bit late last night) and merge it into the beta and I&#039;ll then get released

Any more useful functions, please list them and I&#039;ll try t...]]></description>
                        <content:encoded><![CDATA[Hi!

Done - just need to finish testing(as it was a bit late last night) and merge it into the beta and I'll then get released

Any more useful functions, please list them and I'll try to get them in]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>piemmm</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36035</guid>
                    </item>
				                    <item>
                        <title>RE: Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36031</link>
                        <pubDate>Thu, 29 Sep 2016 19:33:03 +0000</pubDate>
                        <description><![CDATA[Bump for edits.]]></description>
                        <content:encoded><![CDATA[Bump for edits.]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>Capp777</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36031</guid>
                    </item>
				                    <item>
                        <title>RE: Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36017</link>
                        <pubDate>Thu, 29 Sep 2016 14:33:46 +0000</pubDate>
                        <description><![CDATA[Hi

Thats a reasonably difficult one, as some data could potentially be forward looking, point values, and backward looking. 

I&#039;ll need to have a think about this one a little bit, but ...]]></description>
                        <content:encoded><![CDATA[Hi

Thats a reasonably difficult one, as some data could potentially be forward looking, point values, and backward looking. 

I'll need to have a think about this one a little bit, but once it's done, basically will make any future data handling really easy to do (then it's just a case of adding flow control to the PID editor, which will be 'interesting' to do)

All the recent work done to the equation parser makes the basics of adding support simple, it's just the integration side (time series data) that needs to be handled properly.I will try to get this done sometime in the next couple of releases as I think it's also quite an important feature]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>piemmm</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-36017</guid>
                    </item>
				                    <item>
                        <title>Please consider adding a totalizer function</title>
                        <link>https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-6579</link>
                        <pubDate>Thu, 29 Sep 2016 14:05:23 +0000</pubDate>
                        <description><![CDATA[Please consider adding a totalizer function
based upon difference from time/value
between samples.

Total(Val{MPH},Period)

Where base Period could be second, minute,
hour, day?

Ex...]]></description>
                        <content:encoded><![CDATA[Please consider adding a totalizer function
based upon difference from time/value
between samples.

Total(Val{MPH},Period)

Where base Period could be second, minute,
hour, day?

Example:

Total(Val{MPH}, Hour) would totalize up over an
hour to a constant MPH value.

Total(Val{LPM}, Minute) would totalize up over a
minute to a constant LPM value.

and so on...

Could be reset to zero using the same technique
as RAVG().

Just a thought.

New Totalized Value =

(Delta Time in seconds/3600*Val{MPH})+Last Totalizer Value
(Delta Time in seconds/60*Val{LPM})+Last Totalized Value
(Delta Time in seconds/1*Val{LPS})+Last Totalized Value

Last Totalized Value = New Totalized Value.

Where Base Period equals...
3600 for hour
60 for minute
1 for second
86400 for day?

Where Delta Time equals...
Difference between current sample time and
last sample time in seconds.

The timestamp math should be doable.

There is already an example in the forum on
using two pids as an accumulator if you can't
save the last totalizer value as part of the function.

 https://torque-bhp.com/forums/?wpforumaction=viewtopic&amp;t=6110.0
 
Would still need a method like RAVG() to reset.


Edited.]]></content:encoded>
						                            <category domain="https://torque-bhp.com/community/main-forum/">Torque main forum</category>                        <dc:creator>Capp777</dc:creator>
                        <guid isPermaLink="true">https://torque-bhp.com/community/torque-discussion-ideas/please-consider-adding-a-totalizer-function/#post-6579</guid>
                    </item>
							        </channel>
        </rss>
		
<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 35/41 objects using Memcached
Page Caching using Memcached (Requested URI contains query) 
Database Caching 23/50 queries in 0.025 seconds using Memcached

Served from: torque-bhp.com @ 2026-08-15 12:48:35 by W3 Total Cache
-->