I'm writing (or should I say "rewriting") a simple program that uses the weight on a scale to help count parts in our warehouse. I've got the program working currently, but you have to manually enter the weight into the text boxes in order for it to make the final calculation at the end. You have to enter manually 3 different weights: 1.> Empty Box 2.> Box with 25 pieces 3.> Full box.
I'd like to be able to add a button next to each text box (where you normally entered it manually) that would "capture" the reading on the scale and import that value into the required text box. This would eliminate human errors from typing and save someone from having to glance the scale 3 times per session.
I've browsed this site for solutions and most that I saw had to do with serial modems, ect..
Anyone ever accomplished this small feat and could lend me some knowledge?