Article

From:
To:
Andreas Kanthak
Subject:
Re: Error with TApdWinsockPort
Newsgroup:
turbocontrol.apro.general

Re: Error with TApdWinsockPort

Andreas Kanthak schrieb:
> Hi Paul,
> 
> 
> I have now enabled Logging and here are the results. The relevant
> parts are marked. Does it mean, that if there is an entry in the log,
> that this is sent out? Thank you for your help.
> 
> Andreas
> 
> Log:
> 
> -------------------------
> APRO v3.06
> Compiler : Unknown
> Time      Type      SubType       Data      OtherData
> --------  --------  ------------  --------  ---------
> 
> 03.03.2005 09:46:22
> 
> [Some entries removed]
> 0005.593  Dispatch  WriteCom      00000001  +
> 0005.684  Dispatch  WriteCom      0000000A  &T[05][03][03][09].[1C][D8][00]
> 0005.705  Dispatch  ReadCom       00000003  $&T
> 0005.705  Trigger   Avail         00000003
> 0005.743  Dispatch  ReadCom       00000002  [9E][00]
> 0005.743  Trigger   Avail         00000002
> 0005.805  Dispatch  WriteCom      00000008  &Z[98]:[00][00]R[01]
> 0005.826  Dispatch  ReadCom       00000005  $&Z[A4][00]
> 0005.826  Trigger   Avail         00000005
> 0005.849  Dispatch  WriteCom      00000005  &R[00]x[00]
> 0005.865  Dispatch  ReadCom       00000001  $
> 0005.865  Trigger   Avail         00000001
> 0005.871  Dispatch  ReadCom       00000004  &R[9C][00]
> 0005.871  Trigger   Avail         00000004
> 0007.939  Dispatch  WriteCom      00000001  +
> 0008.049  Dispatch  WriteCom      00000004  &Hn[00]
> 0008.068  Dispatch  ReadCom       00000002  $&
> 0008.068  Trigger   Avail         00000002
> 0008.078  Dispatch  ReadCom       00000008  H[92][00]$&H[92][00]
> 0008.078  Trigger   Avail         00000008
> ****************************************************************************
> *****************************
> 0008.106  Dispatch  WriteCom      00000009  ?N1#[00][00][00][E1][00]  This
> is the first command
> 0010.195  Dispatch  WriteCom      00000009  ?N1#[00][00][00][E1][00]  This
> is the second command, which was sent after a Timeout of 2 seconds.
> ****************************************************************************
> *****************************
> [next entries also removed]
> 
> 
> 
> 
Dear Andreas,

having a look at the log file I found something interesting: all commands are processed within microseconds, just the one where YOu are encountering problems ends up nowhere. I want to say, it is not ending nowhere, just there is no answer from the remote until esp. not, YOu are getting an answer (zeros). Have You checked, that Your measuring equipment (ME) really understands this command? Maybe Your ME ends up during trying to process the command before, not knowing what to do and therefore not responding? Please tell us whether You are getting somewhere like this, I am doing similar programming...
Best regards, Michael
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Fri, 15 Nov 2024 02:16:15 UTC
Copyright © 2009-2024
HREF Tools Corp.