Results 1 to 5 of 5

Thread: com buffer

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    103

    Question 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?

  2. #2
    Member
    Join Date
    May 2005
    Posts
    59

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    103

    Re: com buffer

    ok but does the software has the ability to work beyond the output buffer of the com port?

  4. #4
    Member
    Join Date
    May 2005
    Posts
    59

    Re: com buffer

    Can you describe what you would like to do ...

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    103

    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
  •  



Click Here to Expand Forum to Full Width