Logging binary data with time stamps
Yet Another Terminal :: Serial Communication :: Engineer/Test/Debug
Brought to you by:
maettu_this,
y-a-terminal
YAT offers multiple options for logging binary data with time stamps:
[Log > Settings... > Neat Format] will log according to the terminal monitor configuration, e.g. using [View > Radix > Hex] and [View > Show Time Stamp], with or without the radix identifier. This will e.g. result in (YAT neat log as hex strings without radix identifier):
Or (YAT neat log as hex strings with radix identifier):
Neat logging is available as text (.log, .txt, .whatever) or RTF (.rtf, same coloring as the YAT monitor).
[Log > Settings... > Neat Format > Extension] = [.xml] will log using an XML schema that contains the time stamp for each line (given that [View > Show Time Stamp] is active; with the upcoming YAT 2.1.1 this will no longer be required):
The corresponding XML schema will also be saved to the selected output folder.
[Log > Settings... > Raw Format > Extension] = [.xml] will also log using a similar XML schema, containing data in Base64 encoding:
[Log > Settings... > Raw Format > Extension] = other than [.xml] will result in a plain raw binary file, thus not containing any time stamps.
Notes:
Feel free to add to this discussion of file a feature request in case YAT doesn't offer a certain needed feature yet.
Hi May I know how to include Date Stamping in the YAT?
Hmm... I think the above post describes everything... Logging with Neat options will allow this, see screenshot.
Last edit: Maettu 2022-04-29
(06:40:15.220) (COM3) (>>) 55 AA 0F 03 4E 2A 06 7B 01 BF 08 21 20 11 02 02 01 00 00 B2 (20)
Hi , currently i can view only time on the monitor window. May I know how can I set to add date stamp in the monitor window as well?
Thanks
See above. Or describe the issue you face in more detail, maybe I am not getting it.
Last edit: Maettu 2022-04-29
If you want to actually transmit a time stamp, use
\!(TimeStamp())
, formatted according toView > Format Settings... > Options > Time Stamp
. Of course this will also be logged, as part of the sent data.