<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Reading a Stamps.com USB Scale from C#</title>
	<atom:link href="http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/feed/" rel="self" type="application/rss+xml" />
	<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/</link>
	<description>Confessions of a small business software developer</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:02:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Eric</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1942</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 13 Oct 2011 04:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1942</guid>
		<description>Anybody looking to use a Stamps.com USB scale on Linux are welcome to use my usbscale program written in C: http://notes.ericjiang.com/posts/189

It only depends on libusb-1.0 and should compile and run on any Linux system.</description>
		<content:encoded><![CDATA[<p>Anybody looking to use a Stamps.com USB scale on Linux are welcome to use my usbscale program written in C: <a href="http://notes.ericjiang.com/posts/189">http://notes.ericjiang.com/posts/189</a></p>
<p>It only depends on libusb-1.0 and should compile and run on any Linux system.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mj</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1928</link>
		<dc:creator>mj</dc:creator>
		<pubDate>Fri, 09 Sep 2011 17:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1928</guid>
		<description>can this work from a web page? In other words can I read scale input from a browser based application? Any help greatly appreciated.</description>
		<content:encoded><![CDATA[<p>can this work from a web page? In other words can I read scale input from a browser based application? Any help greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanner</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1907</link>
		<dc:creator>Tanner</dc:creator>
		<pubDate>Wed, 13 Jul 2011 14:46:35 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1907</guid>
		<description>Thanks for posting this. I was looking for how to make sense of my 5th byte when it was &gt; 0.</description>
		<content:encoded><![CDATA[<p>Thanks for posting this. I was looking for how to make sense of my 5th byte when it was &gt; 0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Ouellette</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1899</link>
		<dc:creator>Phil Ouellette</dc:creator>
		<pubDate>Sun, 19 Jun 2011 23:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1899</guid>
		<description>Mettler Toledo Vendor ID = 0x08B8

The Mettler Toledo PS shipping scale family (PS15, PS30, PS60 PS6L and PS90) use the range of product IDs from 0xF000 to 0XF007.  If the product ID is in that range then you are talking to a Mettler-Toledo PS shipping scale that supports HID-POS.</description>
		<content:encoded><![CDATA[<p>Mettler Toledo Vendor ID = 0x08B8</p>
<p>The Mettler Toledo PS shipping scale family (PS15, PS30, PS60 PS6L and PS90) use the range of product IDs from 0xF000 to 0XF007.  If the product ID is in that range then you are talking to a Mettler-Toledo PS shipping scale that supports HID-POS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bs</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1885</link>
		<dc:creator>bs</dc:creator>
		<pubDate>Tue, 10 May 2011 22:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1885</guid>
		<description>Is there a list somewhere that I can find the product and vendor ID for a Mettler Toledo PS15 scale? I&#039;m stumped!

thanks,
bs.</description>
		<content:encoded><![CDATA[<p>Is there a list somewhere that I can find the product and vendor ID for a Mettler Toledo PS15 scale? I&#8217;m stumped!</p>
<p>thanks,<br />
bs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1861</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 24 Mar 2011 01:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1861</guid>
		<description>I like your dedication.  I&#039;m currently enrolled at CIE in the software development program and I will be starting C# very soon.  I just have to get through visual basic without throwing my laptop across the room.  Anyway back to the topic, I really wish you would provide a download to the software you&#039;re building.  I can&#039;t find anything online that will allow me to read my stamps.com usb scale without using their dumb software.  I don&#039;t even process my postage through stamps.com I only have the account because I&#039;m a featured merchant on Amazon and was paying more per month at .07 per transaction than the 15.99 so it made sense to get the account.  Anyways, good work I hope to be doing development like this very shortly.</description>
		<content:encoded><![CDATA[<p>I like your dedication.  I&#8217;m currently enrolled at CIE in the software development program and I will be starting C# very soon.  I just have to get through visual basic without throwing my laptop across the room.  Anyway back to the topic, I really wish you would provide a download to the software you&#8217;re building.  I can&#8217;t find anything online that will allow me to read my stamps.com usb scale without using their dumb software.  I don&#8217;t even process my postage through stamps.com I only have the account because I&#8217;m a featured merchant on Amazon and was paying more per month at .07 per transaction than the 15.99 so it made sense to get the account.  Anyways, good work I hope to be doing development like this very shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1799</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Sat, 20 Nov 2010 18:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1799</guid>
		<description>Hi this article is very awesome, i can read my usb scale from my c# now, but i wonder how to force the scale from program to stable at zero?

i try this code


            HidDeviceData inData;
            HidDevice[] hidDeviceList;
            HidDevice scale;

            bool? isStable = null;
            decimal? ounces = null;

            hidDeviceList = HidDevices.Enumerate(0x1446, 0x6A76);

            if (hidDeviceList.Length &gt; 0)
            {
                int waitTries;

                scale = hidDeviceList[0];
                waitTries = 0;

                scale.Open();
                Thread.Sleep(500);
                // For some reason, the scale isn&#039;t always immediately available
                // after calling Open(). Let&#039;s wait for a few milliseconds before
                // giving up.
                while (!scale.IsConnected &amp;&amp; waitTries &lt; 10)
                {
                    Thread.Sleep(500);
                    waitTries++;
                }

                if (scale.IsConnected)
                {
                    byte[] zero = new byte[] { 3, 2, 11, 255, 0, 0 };
                    scale.Write(zero);
                    
                    Thread.Sleep(500);
                }

                scale.Close();
                scale.Dispose();
            }

but not working.

any help will be very appreciate,

thanks</description>
		<content:encoded><![CDATA[<p>Hi this article is very awesome, i can read my usb scale from my c# now, but i wonder how to force the scale from program to stable at zero?</p>
<p>i try this code</p>
<p>            HidDeviceData inData;<br />
            HidDevice[] hidDeviceList;<br />
            HidDevice scale;</p>
<p>            bool? isStable = null;<br />
            decimal? ounces = null;</p>
<p>            hidDeviceList = HidDevices.Enumerate(0&#215;1446, 0x6A76);</p>
<p>            if (hidDeviceList.Length &gt; 0)<br />
            {<br />
                int waitTries;</p>
<p>                scale = hidDeviceList[0];<br />
                waitTries = 0;</p>
<p>                scale.Open();<br />
                Thread.Sleep(500);<br />
                // For some reason, the scale isn&#8217;t always immediately available<br />
                // after calling Open(). Let&#8217;s wait for a few milliseconds before<br />
                // giving up.<br />
                while (!scale.IsConnected &amp;&amp; waitTries &lt; 10)<br />
                {<br />
                    Thread.Sleep(500);<br />
                    waitTries++;<br />
                }</p>
<p>                if (scale.IsConnected)<br />
                {<br />
                    byte[] zero = new byte[] { 3, 2, 11, 255, 0, 0 };<br />
                    scale.Write(zero);</p>
<p>                    Thread.Sleep(500);<br />
                }</p>
<p>                scale.Close();<br />
                scale.Dispose();<br />
            }</p>
<p>but not working.</p>
<p>any help will be very appreciate,</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reading a USB Stamps.com scale &#124; Notes (beta)</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1792</link>
		<dc:creator>Reading a USB Stamps.com scale &#124; Notes (beta)</dc:creator>
		<pubDate>Mon, 15 Nov 2010 00:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1792</guid>
		<description>[...] good news, as Nicholas Piasecki and some Linux users figured out, is that the USB scale conforms to the USB HID specifications, [...]</description>
		<content:encoded><![CDATA[<p>[...] good news, as Nicholas Piasecki and some Linux users figured out, is that the USB scale conforms to the USB HID specifications, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Johnson</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1753</link>
		<dc:creator>Stuart Johnson</dc:creator>
		<pubDate>Thu, 22 Jul 2010 14:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1753</guid>
		<description>Hi,

A solution ...

To interfacing any USB scale like ... 
Mettler Toledo, Pitney Bowes, Fairbanks, X.J., CHARDER, Pelouze, SANFORD, DYMO, Endicia, ELANE XM, UNITED STATES POSTAL SCALES PS30USB/PS311 30-LB DIGITAL USB POSTAL SCALE 

You can use the software BillRedirect like a driver !  This software can send the weight directly in any application .NET or can also support:
- Output weight to a Virtual Serial Port that you can use in your .NET source code.
- Output weight to an ASCII file that you can use in your .NET source code.
- Output weight to a TCP connection (client or server)  that you can use in your .NET source code.
- Output weight to a UDP Broadcast packet  that you can use in your .NET source code.
- Turn your USB scale to a wedge keyboard emulation.
...

It&#039;s very difficult to get the API from manufacturing scale company ! Often they must buy SDK kit which was very expensive with a license agreement Grrrr.  Right now I think that BillProduction is the only company that offer a compatibility with USB scales like a driver.

To try this solution you can visit this web page: http://www.billproduction.com/billscalebalance/ 

Best regards,

Stuart</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>A solution &#8230;</p>
<p>To interfacing any USB scale like &#8230;<br />
Mettler Toledo, Pitney Bowes, Fairbanks, X.J., CHARDER, Pelouze, SANFORD, DYMO, Endicia, ELANE XM, UNITED STATES POSTAL SCALES PS30USB/PS311 30-LB DIGITAL USB POSTAL SCALE </p>
<p>You can use the software BillRedirect like a driver !  This software can send the weight directly in any application .NET or can also support:<br />
- Output weight to a Virtual Serial Port that you can use in your .NET source code.<br />
- Output weight to an ASCII file that you can use in your .NET source code.<br />
- Output weight to a TCP connection (client or server)  that you can use in your .NET source code.<br />
- Output weight to a UDP Broadcast packet  that you can use in your .NET source code.<br />
- Turn your USB scale to a wedge keyboard emulation.<br />
&#8230;</p>
<p>It&#8217;s very difficult to get the API from manufacturing scale company ! Often they must buy SDK kit which was very expensive with a license agreement Grrrr.  Right now I think that BillProduction is the only company that offer a compatibility with USB scales like a driver.</p>
<p>To try this solution you can visit this web page: <a href="http://www.billproduction.com/billscalebalance/">http://www.billproduction.com/billscalebalance/</a> </p>
<p>Best regards,</p>
<p>Stuart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ram</title>
		<link>http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/comment-page-1/#comment-1735</link>
		<dc:creator>ram</dc:creator>
		<pubDate>Wed, 16 Jun 2010 21:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://nicholas.piasecki.name/blog/?p=11#comment-1735</guid>
		<description>Mike O’Brien’s USB HID library is not compatible with 64-bit OS
any other ways to get the stamps weight scale value ?</description>
		<content:encoded><![CDATA[<p>Mike O’Brien’s USB HID library is not compatible with 64-bit OS<br />
any other ways to get the stamps weight scale value ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

