| View previous topic :: View next topic |
| Author |
Message |
tradar Newbie
Joined: 26 May 2005 Posts: 1
|
Posted: May 26th, 2005 08:23 PM Post subject: receiving ascii data with mscomm |
|
|
Newbi at programming.
Want to send ascii data out the com port and display the responce in a text box (or similar)
I have had no trouble sending the data out, but having difficulties in receiving data and displaying it.
Data going out is "ver" + chr$(13)
expected data comming back is "TX3600D v2.11"
can some one point me in the right direction? |
|
| Back to top |
|
sundaecone Newbie
Joined: 03 Jun 2005 Posts: 2
|
Posted: Jun 3rd, 2005 01:36 AM Post subject: |
|
|
from what i understand, you want to send data out.. then, what happens to that data? will the same data be sent back to the PC? is your com port connected to some microcontroller or the like? did you set the RThreshold & InputLen properties of your MSComm?
as of the moment, your problem is vague to me.. posting additional *specific* information will help me & the others understand what you want to happen and in turn give a solution to your problem..
*cheers* _________________ Eternally Grateful,
SundaeCone |
|
| Back to top |
|
rbgCODE Regular
Joined: 11 Nov 2004 Posts: 54 Location: Manchester CT
|
Posted: Jun 3rd, 2005 11:02 AM Post subject: |
|
|
You need to put some code into the mscomm data_recived part of the control _________________ '><>
'rBg
'><> |
|
| Back to top |
|
|