> I'd like to use the TBlockSerial class in a project I'm working on. > > I'm communicating with an electronic controller via rs232 connections and > a simple protocol. Communication works very well but there are a couple > values I'd like to view and I don't understand how to get them. > > In order to determine the byte count of the send or receive buffer I would > use: > > function RecvBuffer(buffer:pointer;length:integer):integer; > or > function SendBuffer(buffer:pointer;length:integer):integer;
Do not use these low-level functions, because you muist call lot of code around. Use high-level functions instead. See http://synapse.ararat.cz/doku.php/public:howto:readdata for details. -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP Library ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
