Read Line from serial port buffer

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2006
Posts: 1
Reputation: Ahmed Waheed is an unknown quantity at this point 
Solved Threads: 0
Ahmed Waheed Ahmed Waheed is offline Offline
Newbie Poster

Read Line from serial port buffer

 
0
  #1
Oct 11th, 2006
please,want help: how can i read line "Message ended with <CR><LF> " from serial port buffer using ReadFile() API function .
I was do that and worked good ,but when enter into large for loop it returned NULLs. so i want to know where is the problem?!! :rolleyes:

thanks !
Last edited by ~s.o.s~; Oct 11th, 2006 at 12:58 pm.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,983
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 308
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Cenosillicaphobiac

Re: Read Line from serial port buffer

 
0
  #2
Oct 11th, 2006
Could you post some code? It would make helping you a lot easier..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4240 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC