Article

From:
To:
Paul Breneman
Subject:
Re: Error with TApdWinsockPort
Newsgroup:
turbocontrol.apro.general

Re: Error with TApdWinsockPort

Paul,

Paul Breneman wrote:
> Andreas,
>
>> Do i connect all to
>> a seriel line, all is going well.
>
> It sounds like your comserver adapter is not working very well.

I cant believe this. The comserver adapater is sold so many times and is
something like an industriel standard here in Germany.

> You could enable dispatch logging in the TApdWinsockPort.  When an
> error occurs you can close the port (which dumps the log to disk)
> then you can verify what your application is actually sending.

I will try this. How do i enable dispatch logging? Do I use logging or
tracing?

>
> When you send a command to the device, what is your timeout duration?
> With TCP/IP there can be small delays (search for "Nagle algorithm" to
> find information) so maybe you just need to increase your timeout?

The timeout is about 2 seconds and it is verified, that its last so long. i
have interecept the serial connection between the comserver adapter and the
device and i have seen, that the first command is sendet directly before the
second command but 2 seconds to late.

TIA
Abdreas
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Fri, 15 Nov 2024 02:13:51 UTC
Copyright © 2009-2024
HREF Tools Corp.