473,480 Members | 1,688 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
Nov 20 '05 #1
3 7278
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" <jo*******@hotmail.com> wrote in message
news:ut*************@tk2msftngp13.phx.gbl...
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

Nov 20 '05 #2
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" <rj**********************@nospam.com> wrote in message
news:u3**************@tk2msftngp13.phx.gbl...
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" <jo*******@hotmail.com> wrote in message
news:ut*************@tk2msftngp13.phx.gbl...
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


Nov 20 '05 #3
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.
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

36
6308
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
2
8296
by: Manmohan S. Sihra | last post by:
Hello, I need your help. I have to integrate FedEx or UPS's Rate Calculator with an eCommerce web site. I have a web site which offers some products for sale. The price of the products is being...
0
1031
by: John Bonds | last post by:
I'm looking for some sort of usb digital scale kinda like ones used for weighing mail. Can anyone recommend anything? Thanks, John
2
8351
by: Axel Foley | last post by:
I used some of the excellent resources from DITHERING.COM for help in my groveling newbie attempts to cough up working form validation.... I cut and pasted bits of code to check USA ZIP codes and...
9
2046
by: Dave Brydon | last post by:
Access 2003: I currently apply my Postal/Zip Code Format based off the Country Selected; the way I do it is by checking on the country; using the forms "On Current" event procedure, then I use...
2
3654
by: Martin Høst Normark | last post by:
Hi everyone Has anyone got the least experience in integrating the Digital Signature with an ASP.NET Web Application? Here in Denmark, as I supose in many other countries, they're promoting...
2
1756
by: Arturo Guzman | last post by:
Hello, I have a postal code field, when I run the query to ask the user which postal code want to view. I need to use like now, so if If the user wants all the postal codes which begins in...
4
8895
by: GaryMasson | last post by:
Hi. Im pretty new to the mscomm controll and my problem is. Im trying to connecting a weighbridge to Com1 and when i try read the weight on the scale i get a mass of garbage coming trough. ...
22
3638
by: Jesse Burns | last post by:
I'm about to start working on my first large scale site (in my opinion) that will hopefully have 1000+ users a day. ok, this isn't on the google/facebook scale, but it's going to be have more hits...
0
7037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7076
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6732
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5324
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.