Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.gui Subject: Re: Getting Kg a balance ? Date: Fri, 16 Dec 2011 07:26:58 -0800 Organization: Canadian Mind Products Lines: 25 Message-ID: References: <1gkme7p7nhu0phleun1r7ls622ftkmaeiq@4ax.com> Reply-To: Roedy Green NNTP-Posting-Host: Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4843 On Fri, 16 Dec 2011 09:46:25 -0500, Jeff Higgins wrote, quoted or indirectly quoted someone who said : > >"I wish to communicate with an electronic balance (scale). The balance >has an Ethernet interface. I wish to implement this communication inside >a Java environment." If that is what he is after, he needs the manual from the balance to learn the protocol. The balance might look like a little HTTP server to him, much the way a router works. Typically you can experiment sending it commands with your browser. To automate, you would need to send HTTP gets and POSTS. See http://mindprod.com/jgloss/http.html Which off all these interpretations of your question is closest? -- Roedy Green Canadian Mind Products http://mindprod.com For me, the appeal of computer programming is that even though I am quite a klutz, I can still produce something, in a sense perfect, because the computer gives me as many chances as I please to get it right.