PC Review


Reply
Thread Tools Rate Thread

Digital Scale integration with .NET (like a postal scale)

 
 
John Bonds
Guest
Posts: n/a
 
      18th Sep 2003
I'm looking for some sort of digital scale to integrate into .NET.

Does anybody know of anything (like a postal scale) that attaches to USB,
serial or whatever that comes with a DLL or an API that I could integrate
into .NET?

Thanks,

John


 
Reply With Quote
 
 
 
 
Robert Jacobson
Guest
Posts: n/a
 
      19th Sep 2003
Interesting question -- could be fun to automate something like that. A
search on Google for "digital scale usb" turned up some useful products,
like this one:
http://www.ohaus.bz/ohaus_scout_pro_balance.htm

However, there isn't any USB support built into .Net. Hopefully the scale
would ship with the necessary device drivers (check with the manufacturer),
bud you'd have to wrote the .Net USB code to connect with the drivers.
These threads might get you started:
http://groups.google.com/groups?hl=e...ublic.dotnet.*



"John Bonds" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm looking for some sort of digital scale to integrate into .NET.
>
> Does anybody know of anything (like a postal scale) that attaches to USB,
> serial or whatever that comes with a DLL or an API that I could integrate
> into .NET?
>
> Thanks,
>
> John
>
>



 
Reply With Quote
 
John Bonds
Guest
Posts: n/a
 
      19th Sep 2003
yah, I actually found that one and did some research on it. I will probably
end up getting it and writing a .NET interface for it (if I can).

Also, if anyone has info on how to send commands to a device through USB,
let me know.

Thanks,

John

"Robert Jacobson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Interesting question -- could be fun to automate something like that. A
> search on Google for "digital scale usb" turned up some useful products,
> like this one:
> http://www.ohaus.bz/ohaus_scout_pro_balance.htm
>
> However, there isn't any USB support built into .Net. Hopefully the scale
> would ship with the necessary device drivers (check with the

manufacturer),
> bud you'd have to wrote the .Net USB code to connect with the drivers.
> These threads might get you started:
>

http://groups.google.com/groups?hl=e...ublic.dotnet.*
>
>
>
> "John Bonds" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm looking for some sort of digital scale to integrate into .NET.
> >
> > Does anybody know of anything (like a postal scale) that attaches to

USB,
> > serial or whatever that comes with a DLL or an API that I could

integrate
> > into .NET?
> >
> > Thanks,
> >
> > John
> >
> >

>
>



 
Reply With Quote
 
Dick Grier
Guest
Posts: n/a
 
      19th Sep 2003
Hi,

Interfacing serial devices is straight forward. You can download
NETComm.ocx from my homepage, or use any one of several .NET classes that
wrap the Windows serial APIs, using P/Invoke.

I have several scale examples in my book. See below. Scales have no
standard communications protocol, so you have to write code that uses the
data furnished by the scale manufacturer. Usually, this amounts to only a
few lines of code that parse receive data.

USB devices use whatever API is provided by the manufacturer. There isn't
any USB support in .NET (USB is a bus, like PCI or ISA -- the API is defined
by the device, not the bus).

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.


 
Reply With Quote
 
New Member
Join Date: Jul 2010
Posts: 1
 
      22nd Jul 2010
Hi John,

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'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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically Scale Gantt Chart Time Scale Andrew Lavinsky Microsoft Excel Charting 2 31st Jan 2010 12:51 PM
I want my Secondary scale to match the primary scale. =?Utf-8?B?WmV2ZXRz?= Microsoft Access Forms 2 12th Nov 2007 12:40 PM
How to draw chart: log scale on X axis, natural scale on y axis? =?Utf-8?B?UHJhdGFwIEQuIGNoYXZhbg==?= Microsoft Excel Charting 1 16th Nov 2006 08:03 AM
Ruler scale and paper scale out of sync =?Utf-8?B?RG9uRA==?= Microsoft Word Document Management 2 14th Jun 2006 05:00 PM
Integrate digital scale in .NET app John Bonds Microsoft Dot NET 0 17th Sep 2003 07:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:39 AM.