Ticket #37453

local echo does not reflect actual transmitted data when using serial transmit delay feature.

Date d'ouverture: 2017-08-22 21:56 Dernière mise à jour: 2017-08-23 13:19

Rapporteur:
Propriétaire:
(Aucun)
Type:
État:
Ouvert
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

when using the serial port setup-> transmit delay-> msec/line feature with local echo enabled, the local echo (and therefore logfile timestamps of the local echo) are not in sync with what is actually transmitted.

It looks like the transmit delay is correctly applied to the transmitted data, but the local echo is buffered in some way and so it will first update in a burst with no delay, then the delay will begin to be applied. if sending a file, then it reports the file as being finished before it has actually finished transmitting and data stops on the output serial port. For me the delay/buffer was approx. 4 seconds when sending lines of 18bytes with 100msec/line

I think it would be more useful if the local echo reflected when data was actually being sent, and It would be very helpful to me to be able to log and timestamp the time the data was actually sent.

Ticket History (2/2 Histories)

2017-08-22 21:56 Updated by: wjb21
  • New Ticket "local echo does not reflect actual transmitted data when using serial transmit delay feature." created
2017-08-23 13:19 Updated by: (del#1144)
Commentaire

I guess you understand this behavior.

e.g. type ls<CR>

ex1) (char delay 1000ms), (local echo = off, remote echo = yes)...normal

timeinputsenddisplay(remote echo)
0slll
0ssl
0s<CR>l
1ssls
2s<CR>ls<CR>
2sls<CR><result of ls>

ex2) (char delay 1000ms), (local echo = on, remote echo = no)... this issue

timeinputsenddisplay(local echo)
0slll
0ssls
0s<CR>ls<CR>
1ssls<CR>
2s<CR>ls<CR>
2sls<CR><result of ls>

ex3) (char delay 1000ms), (local echo = on, remote echo = yes)... exceptional?

timeinputsenddisplay(local and remote echo)
0sllll
0sslls
0s<CR>lls<CR>
1sslls<CR>s
2s<CR>lls<CR>s<CR>
2slls<CR>s<CR><result of ls>

Well, delay setting is named "Transmit delay", it delays only transmit. Do you hope also delay local echo?

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion