none
what dont send data from my pc to a device with serial port completely?

    Question

  • hi All

    I have a device (Is produced by my company). this device have a memory and connected with serial port to my pc.

    I read and write by my code into my device. when I read (example 300 byte of data) dont have error. but when I write 300 byte of data to device have error. Indeed I can write data with (Length) 255 byte But when length my data is more than 255 byte dont write data and return an error

    my serial port have 2 parameter :  

     ComPort1.WriteBufferSize=2048
     ComPort1.ReadBufferSize=4096

    what dont write my data with len less than of 2048??

    plz help me


    Best Regard Fatemeh AmirAfshar

    Thursday, October 10, 2013 8:11 AM

Answers