troubleshooting Question

COM port programming

Avatar of pigangel
pigangel asked on
System ProgrammingMicrosoft Development
10 Comments1 Solution208 ViewsLast Modified:
   please help me urgently.
   I am doing the COM port programming the first time, I had got some articles with example coding for web e.g. codeguru. but I still don't understand completely about data receiveing.
I am doing the test program in order to understand the com port communication. the program including 2 modules, one is to send data, the other is to recieve data.
my program is :
 even I make the receive buffer much longer than the length of sent message, I always receive data piece by piece (e.g, I send 28 bytes data, the data  recieved is always 8 byte, 8 byte ....).
  Is com port transferring data like this way? what should I do so that I can get the whole piece message at one time. please kindly give me any idea, example coding will be very appreciated. thank you very much!

-- pigangel
Chandra VConsultant

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros