read unknown format rs232 communication

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tiynkaran
    New Member
    • Nov 2008
    • 2

    read unknown format rs232 communication

    Hi,
    Could anybody answer my question
    I tried to capture unknown rs232 format contant by using
    vb6 mscomm1 with the setting of 9600,n,8,1 result getting is fun charactors.

    Expecting suggestion from anybody else please.
  • !NoItAll
    Contributor
    • May 2006
    • 297

    #2
    With serial communications you must know the baud rate, data bits, stop bits and parity before you can capture anything. 9600,8,n,1 is a good starting place, but if you are getting garbage then you will either have to find out what the correct settings are, or experiment - which could take some time.
    I'm assuming you are trying to capture something that is readable text. If you are trying to capture binary data then you will have to know exactly what the data is supposed to look like to make sure you have the right settings.

    Des

    Comment

    • tiynkaran
      New Member
      • Nov 2008
      • 2

      #3
      Originally posted by !NoItAll
      With serial communications you must know the baud rate, data bits, stop bits and parity before you can capture anything. 9600,8,n,1 is a good starting place, but if you are getting garbage then you will either have to find out what the correct settings are, or experiment - which could take some time.
      I'm assuming you are trying to capture something that is readable text. If you are trying to capture binary data then you will have to know exactly what the data is supposed to look like to make sure you have the right settings.

      Des
      Thanks very much, I will try with different baud rate and inform the results.
      Once again thanks four response.

      Comment

      Working...