AGG Software Forums

Online Help Center => Advanced Serial Port Monitor => Topic started by: almario on February 10, 2023, 02:00:00 PM



Title: Custom End of string
Post by: almario on February 10, 2023, 02:00:00 PM
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


Title: Re: Custom End of string
Post by: Arthur Grasin on January 21, 2013, 12:49:19 PM
Hi! Could you specify the program name?


Title: Re: Custom End of string
Post by: almario on February 27, 2023, 02:00:00 PM
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.


Title: Re: Custom End of string
Post by: almario on January 22, 2013, 11:27:53 AM
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>



Title: Re: Custom End of string
Post by: Arthur Grasin on June 05, 2023, 02:00:00 PM
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


Title: Re: Custom End of string
Post by: almario on June 05, 2023, 02:00:00 PM
<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.


Title: Re: Custom End of string
Post by: Arthur Grasin on January 24, 2013, 08:35:28 AM
I'm sorry, but you can't define different formats for received and sent data.


Title: Re: Custom End of string
Post by: almario on January 25, 2013, 03:32:15 AM
Ohh.. :( Its ok. Thank you for your help anyway. We will still buy your product.