473,320 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.
Nov 19 '08 #1
2 2223
!NoItAll
297 100+
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
Nov 19 '08 #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
Thanks very much, I will try with different baud rate and inform the results.
Once again thanks four response.
Nov 21 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Phipps Xue | last post by:
Hi All, I wanna write a programm that can write a WMA file's tags such as artist, year, genre and etc. Is there any example code in python to do that? Phipps
1
by: Piyush Govil | last post by:
Hi Everybody I need some urgent help. In my project, I need to save the flash Format files into MS SQL SERVER 2000 and retrieve and display in the control using Flash Player. I am able to...
2
by: AlirezaH | last post by:
Any sample program for rs232 communication?
1
by: Joseph Geretz | last post by:
The sample code from Microsoft contains the following statement: DimeAttachment dimeAttach = new DimeAttachment("image/gif", TypeFormat.MediaType, @"C:\images\test.gif"); In my specific...
2
by: KCUK | last post by:
I have created a software to receive data from an equipment through RS232 communication. It is a simple application of the RS232 class. The software does receive strings from the equipment every time...
0
by: kvu95111 | last post by:
Hi All, I have wrote a simple program using RS232 protocol. However, I have the following problem in hand. I used the software to receive data from a RFID reader (you may simply treat it like a...
0
by: ponuganti | last post by:
hi this is satish,new to dot net and working as fresher. Here my query is in my project there is data transfer from one of medical device to database.for example reading the sugar count from...
4
by: whygog | last post by:
Hi everyone, I'm having a pit of trouble with some c++ programming. I am trying to read in multiple strings from a file on a line, and I'm having trouble with new lines. What I am trying to do is...
7
abdoelmasry
by: abdoelmasry | last post by:
Hi Pros I need help to read xml to array, xml file structure is unknown, and has many elements and subelements, so it should be imported to multiple array. here is xml file as example:...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.