<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://ilonsmartserver.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Small &amp; Medium Sized Buildings</title><link>http://ilonsmartserver.com/forums/4.aspx</link><description>Discussion forum devoted to small building applications and market opportunities.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 21119.1142)</generator><item><title>Re: Mathfunctions on a Logger</title><link>http://ilonsmartserver.com/forums/thread/452.aspx</link><pubDate>Mon, 01 Feb 2010 07:38:01 GMT</pubDate><guid isPermaLink="false">191c7298-8ad3-470c-9bd1-455f544871e0:452</guid><dc:creator>troggendorf</dc:creator><slash:comments>0</slash:comments><comments>http://ilonsmartserver.com/forums/thread/452.aspx</comments><wfw:commentRss>http://ilonsmartserver.com/forums/commentrss.aspx?SectionID=4&amp;PostID=452</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Ralf&lt;/p&gt;&lt;p&gt;&amp;nbsp;Use a type translator with two inputs NVs: your meter point and the current time frrom the real time clock of the SmartServer. Have four output NVs tmp1, tmp2, out1, out2. Write a type translator rule like this:&lt;/p&gt;&lt;p&gt;if time.minute == 00&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; copy tmp * -1 to out2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; copy meter to out1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; copy meter to tmp &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Do this every quater hour (i.e. copy that instruction and change the IF statement to if time.minute == 15 and so on). You may have to write the rule to alternate between two tmp NVs, you&amp;#39;ll have to play around with it a bit. Use the analog function block to sum out1 and out2.&lt;/p&gt;&lt;p&gt;Hope that works&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Thorsten &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Mathfunctions on a Logger</title><link>http://ilonsmartserver.com/forums/thread/448.aspx</link><pubDate>Fri, 29 Jan 2010 08:15:33 GMT</pubDate><guid isPermaLink="false">191c7298-8ad3-470c-9bd1-455f544871e0:448</guid><dc:creator>Ralf</dc:creator><slash:comments>0</slash:comments><comments>http://ilonsmartserver.com/forums/thread/448.aspx</comments><wfw:commentRss>http://ilonsmartserver.com/forums/commentrss.aspx?SectionID=4&amp;PostID=448</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Oh sorry.There is a mistake in the discription of my problem.&lt;/p&gt;&lt;p&gt;The soloutions written describes how to subtract meter2 - meter1 = difference between these two values.&lt;/p&gt;&lt;p&gt;That is a misunderstanding. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I need the difference between two values from one and the same meter. Like this:&lt;/p&gt;&lt;p&gt;Meter 1 @ 13:00 = 1200kWh ---&amp;gt;into logfile1 &lt;/p&gt;&lt;p&gt;Meter 1 @ 13:15 = 1250kWh ---&amp;gt;into logfile1 &lt;/p&gt;&lt;p&gt;-------------------------------------------&lt;/p&gt;&lt;p&gt;difference @ 13:50 = 50kWh ----&amp;gt; into logfile2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And this procedure for 2 Meters.&lt;/p&gt;&lt;p&gt;I have to visualize it with a Logfile-Graph in Ilon-Vision. Maybe the one an only solution is to have an script (maybe java) which calculates the difference.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Mathfunctions on a Logger</title><link>http://ilonsmartserver.com/forums/thread/447.aspx</link><pubDate>Thu, 28 Jan 2010 20:54:58 GMT</pubDate><guid isPermaLink="false">191c7298-8ad3-470c-9bd1-455f544871e0:447</guid><dc:creator>rmhair</dc:creator><slash:comments>0</slash:comments><comments>http://ilonsmartserver.com/forums/thread/447.aspx</comments><wfw:commentRss>http://ilonsmartserver.com/forums/commentrss.aspx?SectionID=4&amp;PostID=447</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ralf,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Probably obvious, but one should be careful of their collection timing.&amp;nbsp; Two data points fed into an analog function block a second apart will result in two outputs from the block.&lt;/p&gt;&lt;p&gt;Just log the analog function block output a minute or so after polling the inputs to the block... &lt;/p&gt;</description></item><item><title>Re: Mathfunctions on a Logger</title><link>http://ilonsmartserver.com/forums/thread/446.aspx</link><pubDate>Thu, 28 Jan 2010 16:11:09 GMT</pubDate><guid isPermaLink="false">191c7298-8ad3-470c-9bd1-455f544871e0:446</guid><dc:creator>troggendorf</dc:creator><slash:comments>0</slash:comments><comments>http://ilonsmartserver.com/forums/thread/446.aspx</comments><wfw:commentRss>http://ilonsmartserver.com/forums/commentrss.aspx?SectionID=4&amp;PostID=446</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Ralf&lt;/p&gt;&lt;p&gt;When the data is already logged, you can only extract it an manipulate it by an external script on your PC (if the log is CSV you can probably use a spreadsheet applycation to import the data and get the differences relatively easyly). If you want to set up the log you can use a Typetranslator block to turn the sign of one value and an analog function block to sum the two. If you want the absolute difference you can use another (or even the same) type translator block to abs the value. If you log the result you have the (abs) difference right in the log. You can log the raw values and the difference in the same log if you need.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Regards&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Thorsten &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Mathfunctions on a Logger</title><link>http://ilonsmartserver.com/forums/thread/444.aspx</link><pubDate>Thu, 28 Jan 2010 12:46:16 GMT</pubDate><guid isPermaLink="false">191c7298-8ad3-470c-9bd1-455f544871e0:444</guid><dc:creator>Ralf</dc:creator><slash:comments>0</slash:comments><comments>http://ilonsmartserver.com/forums/thread/444.aspx</comments><wfw:commentRss>http://ilonsmartserver.com/forums/commentrss.aspx?SectionID=4&amp;PostID=444</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Guys,&lt;/p&gt;&lt;p&gt;i&amp;#39;ve got a problem (missing idea) with the values in a logfile.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve got 2 meters wich are polled every 15 minutes. They have to send their actual meter-value (kWh) which ist written in the logfile.&lt;/p&gt;&lt;p&gt;Now i need to visualize not the meter-value (wich can be at 13:00 = 1200 kWh / 13:15 1250 kWh) but the difference between these two values.&lt;/p&gt;&lt;p&gt;In this case it is 50kWh.&lt;/p&gt;&lt;p&gt;Ich need to visualize these values historical back for one month.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Has anyone an idea how to solve this? &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>