Hello Every One.
I want to read weight from an electronic weight machine which is connected with computer and save it in a database.
Please if any one know the procedure, please help me.
Thanks
Hello Every One.
I want to read weight from an electronic weight machine which is connected with computer and save it in a database.
Please if any one know the procedure, please help me.
Thanks
There is much more to the solution than just asking the question:)
Is the machine connected to your pc via a RS232 cable?
What database will you be using, access/mysql/sql?
What code do you have thus far? Is there errors appearing in your code?
1- Device is connected with a serial port.
2- I am using MS Access
3- I have not yet write any code. please help me from to solve this problem.
thanx
There is much more to the solution than just asking the question:)
Is the machine connected to your pc via a RS232 cable?
What database will you be using, access/mysql/sql?What code do you have thus far? Is there errors appearing in your code?
You'll be making use of the MsComm object.
The following links give you all the sample code you might need.
At Daniweb, with sample code - Here
Tons of other links here - http://www.google.com/search?q=reading+data+through+serial+port+in+vb6&rls=com.microsoft:en-US:{referrer:source?}&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7WZPA_en
Hope this helped.:)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.