473,781 Members | 2,280 Online
Bytes | Software Development & Data Engineering Community
+ 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 7295
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*******@hotm ail.com> wrote in message
news:ut******** *****@tk2msftng p13.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************ **********@nosp am.com> wrote in message
news:u3******** ******@tk2msftn gp13.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*******@hotm ail.com> wrote in message
news:ut******** *****@tk2msftng p13.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
6401
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 something I'll need in this case is some experience-based set of rules about how to use python in this context. For example... is defining readonly attributes in classes worth the hassle ? Does duck-typing scale well in complex
2
8339
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 charged to customer. But now I want to calculate the amount of shipping depending on the postal code in USA and Canada only with FedEx or UPS and add to the total amount. I looked the tools offered by FedEx and UPS, but still I could not...
0
1053
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
8375
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 CANADIAN POSTAL codes, and merged them into one function that I called validCode. The <form> tag has an onSubmit call to a general form-checker that works fine to make sure all fields are filled. But within the form is a ZIP/POSTAL CODE field,...
9
2063
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 additional code on my Postal/Zip Code field, using the fields "On Got Focus" event (Code Below) to manipulate the input mask. This procedure works well; however, I now wish to have a longer Value List of countries instead of using "Other", but I...
2
3677
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 the digital signature. A lot of people already has one, to do their taxes, and much more. I have to use for a business-to-business e-commerce solution, where it's vital that the right user is being logged on, and not give his username and password...
2
1770
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 17, Selec * from PostalCodes where "*" doesn´t work, what is the way to do it in access. Thanks for your replies.
4
8951
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. but when i unplug the loadcell and the indicator reads Error-02, it displays in the application but its not fixed it rolls through Iv bin batteling with this for a long time
22
3666
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 than just family and friends. Either way, I'm planning on this site blowing up once I have enough of a feature set, so I'm concerned about performance and scalability in the long run. I've worked for a software company, but I've never...
0
9636
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10139
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9931
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8961
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6727
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4037
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 we have to send another system
3
2869
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.