|
-
Nov 13th, 2005, 05:16 AM
#1
Thread Starter
Lively Member
com buffer
hey guys
i just need to know
if i can read the outbuffercount , does this mean the data are definately sent over the serial port? in other words if data sent got to the output buffer does it mean that they are totally sent through the serial cable plugged for example?
-
Nov 13th, 2005, 05:40 AM
#2
Member
Re: com buffer
Hi,
I'm not specialist, but i think the process of data sending goes like this: first you write data to comm port (say using output function of Mscomm library), the data transferes to output buffer (outputbuffercount >0) and only when outputbuffercount became 0 again you can assume that the data was sent.
-
Nov 13th, 2005, 05:42 AM
#3
Thread Starter
Lively Member
Re: com buffer
ok but does the software has the ability to work beyond the output buffer of the com port?
-
Nov 13th, 2005, 05:53 AM
#4
Member
Re: com buffer
Can you describe what you would like to do ...
-
Nov 13th, 2005, 06:02 AM
#5
Thread Starter
Lively Member
Re: com buffer
well i wrote a program the send a byte to the serial port, then to a serial cable , to a microcontroller to control device. on testing, it didnt work so i need to chack if the byte is sent through the serial port.i checked the out buffer and found out it is receiving the byte sent. so can i do anything with the vb software more than sending it to the buffer. does software (using vb) control anything beyond the com output buffer?
thx
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
|