|
-
Apr 19th, 2001, 12:39 AM
#1
Thread Starter
New Member
We are using MScomm to read the data available on the serial port . We are unable to retreive the data fully. We are getting only first few characters and others are lost. Can you suggest a way to overcome this problem
The setting for MScomm are as follows:
MSComm settings 9600,n,8,1
Rthreshold 0
Inputlen 0
Handshaking none
InputMode comInputModeText
Thanks in advance
lakshmi
-
Apr 20th, 2001, 02:58 AM
#2
Fanatic Member
The information is being sent to fast. slow down the speed. ALso because it is serial, you also need to put in some kind of CRC to ensure data is valid since you also tend to get 'noise' that needs to be removed.
-
Apr 20th, 2001, 03:20 AM
#3
PowerPoster
First of all, you need to write a routine to diagest the dta from the MSComm and look for the predefine end string character (Should have, e.g vbCrLf, Chr(3) or etc.)
You need to call his function when there isa fire on the OnComm event for the received data event.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|