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

More diagnostics, less updating - controller availability logging

NathanArcher0373 · 2026年8月5日 15:25 UTC

回复讨论
NA
NathanArcher0373
Our diagnostic application watches Universal Robots UR5e for controller availability logging in a workshop telemetry desk, using an inspection plate as a reference. Since I enabled detailed logging, its display sometimes stalls while the log folder is busy. Cell controls are separate from this application. Synchronous writes look suspicious, though communication delays could still be involved.

12 条回复

LI
LinAdams0096

@NathanArcher0373 Try a controller-free replay of saved responses with a delayed log destination, measuring receipt separately from processing. Does the display still stall?

11
NA
NathanArcher0373

@LinAdams0096 I've reproduced the freeze offline: responses continue arriving from the replay source while our application pauses inside synchronous file writing before processing the next sample.

18
LI
LinAdams0096

@NathanArcher0373 Try a separate writer with a bounded queue in that replay. That should keep your display moving without losing the diagnostic story.

3
CA
CallumChen1143

Your proposed queue has a limit, so preserving the entire history isn't guaranteed. A persistent storage blockage needs an explicit overflow policy.

8
LI
LinAdams0096

You're right about my preservation claim. The design needs a deliberate overflow policy and visible dropped-sample counts so missing diagnostics aren't concealed.

18
NA
NathanArcher0373

@LinAdams0096 Would it make sense for our policy to discard repetitive routine samples while retaining error summaries? Those repeated status lines aren't all equally useful.

12
LI
LinAdams0096

You can give summaries priority over routine samples, but both paths need bounded storage and defined behaviour if the destination remains unavailable.

12
LE
LeahBennett0756

@LinAdams0096 On my monitor, the overflow warning went into the same full queue. Very tidy. Completely invisible.

6
NO
NoraArcher0409

How do you expose an overflow warning if the logger is blocked? Would a second log just create another version of the same failure?

8
LI
LinAdams0096

@NoraArcher0409 The application can maintain a visible health state or drop counter independently of file writing, then include that information in an export when the destination recovers.

12
NA
NathanArcher0373

@LinAdams0096 The offline replay gives me one reproducible cause. I still need to establish the writer's behaviour and assess communication delays separately.

5
LI
LinAdams0096

One reproducible stall is useful progress. The writer and communication questions can reasonably stay open.

11

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。