Results 1 to 4 of 4

Thread: Serial Port logging

  1. #1

    Thread Starter
    Hyperactive Member Juan Carlos Rey's Avatar
    Join Date
    Aug 1999
    Location
    Mendoza, Argentina
    Posts
    301

    Serial Port logging

    I need to make a log (record?) of whatever comes out or in the serial port.
    I have an app (made under VB6.0, I guess) that transmit data over COMM 1 - I need to record all that data. How can I do that?
    Combat poverty: kill a poor!!

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Serial Port logging

    Do you want to record it on your machine as it's going out? Post your code.
    If you want to record what's being sent to the machine, you could use Terminal with the Print to File option checked.

    What is the app? Post a little more detail.

  3. #3

    Thread Starter
    Hyperactive Member Juan Carlos Rey's Avatar
    Join Date
    Aug 1999
    Location
    Mendoza, Argentina
    Posts
    301

    Re: Serial Port logging

    Thanks for your reply

    My app is a third hand app...

    It is used to program the parameters into a taxi-fare meter (or taximeter, I don't know the English name)

    I want to have a logging of what is going out (or into, for that matter) the serial port. I don't have acces to the code of the original app, it is provided to me by the manufacturer, I am a local distributor/installer.

    I need to keep record of the activity of my shop when I am nopt around...

    I guess I can launch the original app with a bat file or from within VB and capture the serial port and send the data to a file.

    The Terminal could be a good idea.

    If you need more info, OK, post!
    Combat poverty: kill a poor!!

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Serial Port logging

    Not sure, but maybe you could try a program (free) called Ethereal,which is used to capture traffic, usually over the Internet, but could probably be used for Comm ports. It will let you see the format of the data, to help you write an app to parse it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width