In serial components I have used with Delphi before there was always a property to set the buffer sizes (both Tx and Rx). But I cannot find a way to do this with SdpoSerial. Is it not needed (does SdpoSerial manage the buffers by itself) or have I overlooked some property? I have not installed SdpoSerial in Lazarus as a component since it is non-visual. I create it in code instead.
I am wondering about this because I am now reaching the point in my project where I have to send large data arrays (up to 1 Mbytes) and I am not sure if I have to check the transmit buffer before I submit the data to the SdpoSerial. What will happen if I have not set any buffer size (so they are at default values, whatever that is) and then use the method FComm.WriteData(cmd); with cmd being a string containing 1 Mbytes of data? (FComm is of course a TSdpoSerial instance) Bo Berglund -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
