• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 18, 2024, 11:18:19 pm

News:

SMF - Just Installed!


log file

Started by Fletch, October 12, 2011, 11:30:19 am

Previous topic - Next topic

Fletch

There does not seem to be any difference between the simple and details log file.  What extra info is the detailed supposed to show?

In async pro you can log the actual bytes send out and received by the com port.  This is very useful for debugging

Fletch

I have tried the debug setting which only records that 3 bytes have been sent.  It does not record the bytes
that were received at all.

What is very useful is to record the actual bytes sent out of the out buffer and the actual bytes received in the in buffer.  Not just the number of bytes but each byte and its hex value. 

Roman Novgorodov

Hello

TnrComm does not log incoming data in dlDebug detail level. It will significant increase log file size. You can make this easy in OnAfterREceive event handler. See Codes demo project.

Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Fletch

Yes it can be done, but it means every time you need to debug a routine, you have to add special code to your app and then remove it afterwards.

What the point of having a debug setting for the log file, if it does not include all the data to debug the comms.  When debugging, it does not matter if the log file get too big. You can just delete it and start again.

Roman Novgorodov

Hello

TnrLog file can be used in TnrComm together with TnrZModem, TnrKermit, TnrGps and others.
If debug will show all incoming data it will log very big size of data.

Thank you for information we will try do something in the future.

Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Fletch

Thanks

Maybe you can add a separate detail level for that so it wont interfere with the existing ones.