News:

Welcome on our forum!

Main Menu

Custom End of string

Started by almario, February 10, 2023, 11:00:00 AM

Previous topic - Next topic

almario

I am trying to achieve this:
<2013.01.21 17:20:36.540 TX>
A105 10<CR><LF>
<2013.01.21 17:20:36.962 RX>
A105 B<CR><LF>
<2013.01.21 17:20:36.962 RX> another time stamp
A105 A<CR><LF>


from this:
<2013.01.21 17:20:36.540 TX>
A105 10<CR><LF>
<2013.01.21 17:20:36.962 RX>
A105 B<CR><LF>A105 A<CR><LF>


notice that <CR><LF> is end of line. Is it possible to have time stamp on every <CR><LF>?
my current end of string character for receiving is none

Arthur Grasin

Hi! Could you specify the program name?
If you like my work, please take a few seconds and add feedback about our site or our software [here]

almario

Hi, this is for Advance Serial Port Monitor under End-string under program settings. I was able to achieve somewhat near this by using #0A - LF and it looks like this:
<2013.01.22 08:24:28.855 TX>
A105 10<CR><LF>
<2013.01.22 08:24:29.281 RX>
A105 B<CR> [len=103]
<2013.01.22 08:24:29.531 RX>
A105 A<CR> [len=7]


I need to come up with

<2013.01.22 08:24:28.855 TX>
A105 10<CR><LF>
<2013.01.22 08:24:29.281 RX>
A105 B<CR><LF>
[len=103]
<2013.01.22 08:24:29.531 RX>
A105 A<CR><LF>
[len=7]

I think this should be possible with the custom one. But I dont know how.

almario

If this is not possible, can I have this format instead:

<2013.01.22 08:24:28.855 TX>
A105 10
<2013.01.22 08:24:29.281 RX>
A105 B<CR><LF>
<2013.01.22 08:24:29.531 RX>
A105 A<CR><LF>

-- Only the receive command has <CR><LF>


Arthur Grasin

Program settings:

End-of-string: #0D#0A
View mode -> Data view -> Show the received packet length: Off
View mode -> Data view -> Show the string that ends a data packet: On
If you like my work, please take a few seconds and add feedback about our site or our software [here]

almario

<2013.01.24 08:15:48.640 TX>
A105 10<CR><LF>
<2013.01.24 08:15:49.260 RX>
A105 B<CR><LF>A105 B<CR><LF>
<2013.01.24 08:15:50.751 RX>
A105 B<CR><LF>A105 B<CR><LF>
<2013.01.24 08:15:52.494 RX>
A105 B<CR><LF>A105 B<CR><LF>
<2013.01.24 08:15:53.989 RX>
A105 B<CR><LF>A105 B<CR><LF>
<2013.01.24 08:15:55.480 RX>
A105 B<CR><LF>A105 B<CR><LF>
<2013.01.24 08:15:57.223 RX>
A105 B<CR><LF>A105 A<CR><LF>

the settings still give me this.

Arthur Grasin

I'm sorry, but you can't define different formats for received and sent data.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

almario

Ohh.. :( Its ok. Thank you for your help anyway. We will still buy your product.