任务单 #37453

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

开放日期: 2017-08-22 21:56 最后更新: 2017-08-23 13:19

报告人:
属主:
(无)
类型:
状态:
开启
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

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.

任务单历史 (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)
评论

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

编辑

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