<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>SRA Lab - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-f3a7aa05" type="application/json"/><link>http://sralab.disqus.com/</link><description></description><atom:link href="http://sralab.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 23 Mar 2012 04:49:35 -0000</lastBuildDate><item><title>Re: libmodbus for Arduino (almost!)</title><link>http://sralab.com/2011/04/14/libmodbus-for-arduino-almost/#comment-474325172</link><description>&lt;p&gt;I would be great but Arduino doesn't provide a real OS. Rasberry Pi, yes!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Raimbault</dc:creator><pubDate>Fri, 23 Mar 2012 04:49:35 -0000</pubDate></item><item><title>Re: libmodbus for Arduino (almost!)</title><link>http://sralab.com/2011/04/14/libmodbus-for-arduino-almost/#comment-469289989</link><description>&lt;p&gt;HI Stephane,&lt;/p&gt;

&lt;p&gt;Any plans to port 3.0.2 to Arduino? There's plenty of room on a Mega!&lt;br&gt;Dominic &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dominic Storey</dc:creator><pubDate>Mon, 19 Mar 2012 15:48:17 -0000</pubDate></item><item><title>Re: Magic libmodbus 3.0.0 is out</title><link>http://sralab.com/2011/07/12/magic-libmodbus-3-0-0-is-out/#comment-457440652</link><description>&lt;p&gt;&amp;gt; You've just a problem in your setup.&lt;br&gt;Well, that's right.&lt;/p&gt;

&lt;p&gt;&amp;gt; master contains the code of next modbus 3.2&lt;br&gt;Oh, that's the point.&lt;br&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Андрей Кравчук</dc:creator><pubDate>Mon, 05 Mar 2012 22:15:34 -0000</pubDate></item><item><title>Re: Magic libmodbus 3.0.0 is out</title><link>http://sralab.com/2011/07/12/magic-libmodbus-3-0-0-is-out/#comment-455863539</link><description>&lt;p&gt;The default branch is master! And currently, master contains the code of next modbus 3.2. You've just a problem in your setup. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Raimbault</dc:creator><pubDate>Sun, 04 Mar 2012 06:47:01 -0000</pubDate></item><item><title>Re: Magic libmodbus 3.0.0 is out</title><link>http://sralab.com/2011/07/12/magic-libmodbus-3-0-0-is-out/#comment-455432344</link><description>&lt;p&gt;Why don't you made 3.0 the default branch on github yet? That's confusing, you know - I've git submodule'd  libmodbus in my new project and just discovered that I'm using old 2.0 instead of brand new 3.0 :(&lt;br&gt;(Sorry my bad English)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Андрей Кравчук</dc:creator><pubDate>Sat, 03 Mar 2012 12:08:43 -0000</pubDate></item><item><title>Re: libmodbus for Arduino (almost!)</title><link>http://sralab.com/2011/04/14/libmodbus-for-arduino-almost/#comment-443459814</link><description>&lt;p&gt;Have you tried SimpleModbus? and why do you say the code is ugly?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Juan</dc:creator><pubDate>Sun, 19 Feb 2012 12:35:15 -0000</pubDate></item><item><title>Re: Emacs, cut &amp;#038; paste and nice other hotkeys</title><link>http://sralab.com/2006/12/20/emacs-cut-paste-and-nice-other-hotkeys/#comment-353823877</link><description>&lt;p&gt;"(define-key isearch-mode-map [(control f)] (lookup-key isearch-mode-map "\C-s"))"This line is what I was looking for ... it makes continuous hitting Control+f to search forward.... you made my day man... thnx!! &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kshitij Gaipal Ŧ</dc:creator><pubDate>Wed, 02 Nov 2011 11:01:01 -0000</pubDate></item><item><title>Re: Incredible coincidence</title><link>http://sralab.com/2011/09/29/incredible-coincidence/#comment-325537854</link><description>&lt;p&gt;Redirections in ajax are always hard to maintain cross-brosers. There's 2 intersting resources on that on Stack Overflow:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/2800982/ajax-redirect-dilemma-how-to-get-redirect-url-or-how-to-set-properties-for-redir/4553721" rel="nofollow"&gt;http://stackoverflow.com/quest...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/199099/how-to-manage-a-redirect-request-after-a-jquery-ajax-call/1534662#1534662" rel="nofollow"&gt;http://stackoverflow.com/quest...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One of the way to obtain a really cross browser behavior is then to manage a subset of HTTP in the xhr http protocol (code 200). And to manage 404,500,302 error codes in the json content/js code. Very useful to extend it to functionnal behaviors (like end of session management where your html block get filled by the login page).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">regilero</dc:creator><pubDate>Mon, 03 Oct 2011 09:38:34 -0000</pubDate></item><item><title>Re: Current Tranformer</title><link>http://sralab.com/2010/10/13/current-tranformer/#comment-229304405</link><description>&lt;p&gt;Electronic ballasts for some lights can have relatively low power factor (VARs as well as KW are being drawn) which means some power is fed back to the grid (which consumers aren't charged for). A simple current transformer (CT) measurement can be misleading. Get a power meter (e.g. Kilawatt, WattNode etc.) that can give you a better idea of your true power consumption.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Kyner</dc:creator><pubDate>Sat, 18 Jun 2011 10:57:31 -0000</pubDate></item><item><title>Re: Current Tranformer</title><link>http://sralab.com/2010/10/13/current-tranformer/#comment-229302496</link><description>&lt;p&gt;Good point. Real energy (watt-hours) can't be measured by a CT alone. A power meter that measures voltage and current simultaneously that can distinguish watt-hours from VAR-hours is needed since consumers are charged for watt-hours, not VAR-hours.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Kyner</dc:creator><pubDate>Sat, 18 Jun 2011 10:51:33 -0000</pubDate></item><item><title>Re: Current Tranformer</title><link>http://sralab.com/2010/10/13/current-tranformer/#comment-213958604</link><description>&lt;p&gt;Yes, the cos Phi is useless as I've explained!&lt;/p&gt;

&lt;p&gt;For `direct current', you're right I've used a multimeter to measure the transformer output and it's just a voltage step down (AC) in this case.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Raimbault</dc:creator><pubDate>Sun, 29 May 2011 16:13:46 -0000</pubDate></item><item><title>Re: Current Tranformer</title><link>http://sralab.com/2010/10/13/current-tranformer/#comment-213595764</link><description>&lt;p&gt;I do not understand what the cos\phi of your electricity provider has to do with anything.&lt;/p&gt;

&lt;p&gt;Btw. AFAIK this is a normal transformer (why "current"?) and the lamps do not need "continuous" current. They just need a voltage step down from 220V (or 110V) to 12 or 24V.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jpc</dc:creator><pubDate>Sat, 28 May 2011 20:19:24 -0000</pubDate></item><item><title>Re: New libmodbus 2.9.2 with win32 support and backends</title><link>http://sralab.com/2010/12/05/new-libmodbus-2-9-2-with-win32-support-and-backends-2/#comment-157295466</link><description>&lt;p&gt;The branch you mentions on launchpad wasn't designed to merge upstream and the author didn't contact me in this goal.&lt;br&gt;Anyway I've recently received feedback from a VS 2008 user and applied a change on git master:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/stephane/libmodbus/commit/3fb246237df40e25ed9e1c24a34c0779778e79e6" rel="nofollow"&gt;https://github.com/stephane/li...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Could you try the git version and report if it works for you?&lt;br&gt;I'm not able to test with VS so I need testers (see &lt;a href="https://github.com/stephane/libmodbus/wiki/Call-for-Testers)" rel="nofollow"&gt;https://github.com/stephane/li...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Raimbault</dc:creator><pubDate>Sun, 27 Feb 2011 17:08:01 -0000</pubDate></item><item><title>Re: New libmodbus 2.9.2 with win32 support and backends</title><link>http://sralab.com/2010/12/05/new-libmodbus-2-9-2-with-win32-support-and-backends-2/#comment-157295465</link><description>&lt;p&gt;Hi Stephane,&lt;/p&gt;

&lt;p&gt;the current version of libmodbus doesn't compile on Visual Studio 2008. Do you plan to support the Visual Studio Compiler too? I tested this branch:&lt;br&gt;&lt;a href="https://code.launchpad.net/~thepyper/libmodbus/win32-native" rel="nofollow"&gt;https://code.launchpad.net/~th...&lt;/a&gt;&lt;br&gt;and it works perfectly. Or do I have to change the compile settings?&lt;/p&gt;

&lt;p&gt;Thank you very much for this great library!!!&lt;br&gt; Tobi&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tobi</dc:creator><pubDate>Thu, 24 Feb 2011 08:37:24 -0000</pubDate></item><item><title>Re: Current Tranformer</title><link>http://sralab.com/2010/10/13/current-tranformer/#comment-155902732</link><description>&lt;p&gt;Yes you can use libmodbus to talk with your device, you need v2.9.3 which offers a Windows support.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Raimbault</dc:creator><pubDate>Fri, 18 Feb 2011 16:51:45 -0000</pubDate></item><item><title>Re: Current Tranformer</title><link>http://sralab.com/2010/10/13/current-tranformer/#comment-155902726</link><description>&lt;p&gt;Hello Stephane,&lt;br&gt;we're using WiLEM to monitor our Power Consumption.&lt;br&gt;&lt;a href="http://www.lem.com/hq/en/content/view/279/218/" rel="nofollow"&gt;http://www.lem.com/hq/en/conte...&lt;/a&gt;&lt;br&gt;The MeshGateway offers a serial Port (RS232) where the Modbus RTU data stream is hookes up to the computer.&lt;br&gt;How can we use your driver within our C++ application - all in Win32 (sorry).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Armin</dc:creator><pubDate>Mon, 14 Feb 2011 11:52:45 -0000</pubDate></item><item><title>Re: LVM – Incorrect metadata area header checksum</title><link>http://sralab.com/2005/12/06/lvm-incorrect-metadata-area-header-checksum/#comment-155902633</link><description>&lt;p&gt;thanks for this nice post&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">emman</dc:creator><pubDate>Thu, 16 Dec 2010 08:51:15 -0000</pubDate></item><item><title>Re: libmodbus</title><link>http://sralab.com/libmodbus/#comment-155902558</link><description>&lt;p&gt;Hi I want to down load the modbus source code for learning.&lt;/p&gt;

&lt;p&gt;thanks a lot.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">terry</dc:creator><pubDate>Thu, 02 Dec 2010 01:20:35 -0000</pubDate></item><item><title>Re: LVM – Incorrect metadata area header checksum</title><link>http://sralab.com/2005/12/06/lvm-incorrect-metadata-area-header-checksum/#comment-155902630</link><description>&lt;p&gt;I currently running openfiler 2.3 and With 2 ext3 partitions and 3 iscsi partitions. The problem began last sat when I can’t connect to the ISCSI partitions anymore. I tried delete the ISCSI partition and recreate them. Still same error SCSI Serial No. and SCSI ID "Incorrect metada".. So I removed all the ISCSI partitions. The system still showing this error&lt;/p&gt;

&lt;p&gt;Incorrect metadata area header checksum&lt;br&gt;Found volume group "datastore_01" using metadata type lvm2&lt;br&gt;Found volume group "datastore_02" using metadata type lvm2&lt;/p&gt;

&lt;p&gt;datastore01 and datastore02 is the two ext3 partitions and they seem working fine (I can read and write).  Can you point me the right direction for a solution to fix this problem?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">herbert</dc:creator><pubDate>Mon, 29 Nov 2010 00:20:51 -0000</pubDate></item><item><title>Re: Current Tranformer</title><link>http://sralab.com/2010/10/13/current-tranformer/#comment-155902724</link><description>&lt;p&gt;The measures have been done before the transformer so we don't need to take care about the energy efficiency of the transformer to measure the consumption!&lt;br&gt;To be even more precise, I've supposed a theorical cos phi of 1 because the real cos phi of my electricity provider is around 0.93 (EDF), so the final result is really near the theorical cos phi, so 40 VA is P=0,18*230*0.93 = 38.5W (only 1.5W of difference). Doesn't really change anything? I don't think so.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Raimbault</dc:creator><pubDate>Mon, 22 Nov 2010 03:58:06 -0000</pubDate></item><item><title>Re: Current Tranformer</title><link>http://sralab.com/2010/10/13/current-tranformer/#comment-155902702</link><description>&lt;p&gt;Your transformer consumes 40VA, not 40W - you forgot about power factor, which is far away from 1 for 'electronic transformers' (that are used mainly in such applications), and is close to 1 for classical transformers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NiTr0</dc:creator><pubDate>Tue, 16 Nov 2010 05:33:36 -0000</pubDate></item><item><title>Re: libmodbus</title><link>http://sralab.com/libmodbus/#comment-155902557</link><description>&lt;p&gt;Yes, libmodbus deals with endianess.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Raimbault</dc:creator><pubDate>Thu, 04 Nov 2010 04:42:40 -0000</pubDate></item><item><title>Re: libmodbus</title><link>http://sralab.com/libmodbus/#comment-155902553</link><description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Does this library deal with endianess? I need to run this code on a big endian machine. I'm not a modbus expert, but my googling tells me modbus is inherently big-endian so i don't think it would be a problem since it works on my little endian laptop.&lt;/p&gt;

&lt;p&gt;Thanks for the good work.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bob</dc:creator><pubDate>Wed, 03 Nov 2010 21:45:43 -0000</pubDate></item><item><title>Re: libmodbus</title><link>http://sralab.com/libmodbus/#comment-155902552</link><description>&lt;p&gt;The slave ID used in modbus_new_rtu identifies your device (server or slave, it depends on what do you do after) and the slave ID in modbus_set_slave(), sets the ID of the slave you want to query.&lt;/p&gt;

&lt;p&gt;Feel free to propose a clearer API, on my not very happy with this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stéphane Raimbault</dc:creator><pubDate>Tue, 28 Sep 2010 07:20:49 -0000</pubDate></item><item><title>Re: libmodbus</title><link>http://sralab.com/libmodbus/#comment-155902550</link><description>&lt;p&gt;And why in mb = modbus_new_rtu(“/dev/ttyS0″, 19200, ‘N’, 8, 1, 1); slave id = 1&lt;br&gt;and in modbus_set_slave(mb, 10); sale id = 10?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">compplusplus</dc:creator><pubDate>Thu, 09 Sep 2010 06:37:51 -0000</pubDate></item></channel></rss>
