Ok... now I've got some more information... The scale is produced by a co. called Toledo. This scale is connected via serial port to the pc and it uses a protocol called P03 (proprietary). Ok... about the protocol, you don't have to worry about it. What i figure now is how to get the string transmited via serial port. With this, I can create a script to understand that code (The manual explains about this protocol).
thanks! > On Fri, 11 Feb 2005, Diogo Nunes de Oliveira wrote: > >> I´m trying to develop a software that understands the code/protocol >> generated by a scale when it weights something. Picture this: The >> scale weights the product and the software interprets that weight. The >> scale has a different code/protocol. How do I do that? Thanks! > > We need to know more background information in order to help. > > * What operating system are we dealing with here? What other software? > > * Does the vendor of the scale provide any way to connect it to a > computer (hardware, software, documentation, etc) or are you trying to > do all of this from scratch with an ordinary scale? > > * Assuming that you do have some kind of data connection (which is > implied by asking about codes & protocols), what is the interface > between the scale and the computer? Serial? USB? Infrared? Bluetooth? > TCP/IP? > > * Have you been able to examine any data from the scale? How? > > Etc. > > You describe an interesting problem, and one that can probably be done, > but it depends on so many non-software aspects that it's hard to know > where to begin without having a fuller picture to work with. > > > > -- > Chris Devers > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > -- Diogo N Oliveira - Instrutor EAD - Senai CEDESG -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>