简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

The diagnostic display pauses when I write more logs

RosaChan1075 · 2025年8月7日 17:21 UTC

已关闭
RO
RosaChan1075
I added detailed logging to our UR5e inspection monitor to understand a delayed result, and now the laptop display sometimes pauses while the log folder is busy. The cell has separate controls and keeps its own state. I've probably made the evidence harder to read. What should I measure to tell a slow file write from a late response? I can replay captured messages off-line, but I don't yet have timings around the individual operations.

14 条回复

JA
JamieBarnes0556

Time receipt, parsing, display update and file write separately during replay; does your logging call run on the same thread as the display?

23
RO
RosaChan1075

Yes. Parsing and file writing both happen in the display callback. I put them there because it was a tiny monitor, which is apparently not an architectural argument.

5
JA
JamieBarnes0556

Replay first with the current file writer, then with a controlled slow writer; measure elapsed durations without sending the timing measurements through that same slow path.

14
JO
JonasBell0633

Our diagnostic chart once caught up in a rush after a pause and made events look simultaneous. Preserve the message observation time separately from the display time, so the replay does not give you a convincing but reordered story.

21
RO
RosaChan1075

The replay reproduces the freeze when the write is delayed. Receipt continues in the captured sequence, but my display callback waits. I've proposed moving file work away from it.

16
JA
JamieBarnes0556

Bound whatever queue you add and decide what happens when it fills; moving the delay out of view doesn't make the writer keep up.

6
RO
RosaChan1075

Right, I had drawn an unlimited queue. I'll replace that in the proposal with a bounded queue and an explicit logging-overload indication. Need to agree what may be dropped.

16
LI
LinAdams0096

Who uses the display when it's behind, Rosa, and can they tell the difference between an old result and a current one?

4
NI
NinaBrown0936

Our technician once waited for a monitor that had simply stopped refreshing. Give them an obvious stale state, not a tiny warning buried where nobody looks.

17
JA
JamieBarnes0556

And test writer failure, not just delay; an unavailable folder is a different case from a slow one.

15
RO
RosaChan1075

Lin, maintenance uses it for diagnosis, not cell operation. Nina, we've added a visible stale status to the test version. Writer-delay replay no longer freezes that display, but failed writes still need a clear indication.

6
JO
JonasBell0633

Can you recover the original event order from an export of that test? I would compare a short known replay by hand before relying on the larger log files again.

5
RO
RosaChan1075

Yes, Jonas, the short replay keeps source order and separate observation and display times. Thanks for catching that. The original live delay remains unexplained; fixing my writer only removes the extra delay I introduced.

8
NI
NinaBrown0936

Useful progress. Who is finishing the full-queue and failed-folder cases before maintenance gets this version?

12

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .