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

More diagnostics, less updating (read-only diagnostic sampling)

FelixBarnes0545 · 2026年8月11日 08:46 UTC

回复讨论
FE
FelixBarnes0545
Our diagnostic application watches Fairino FR5 for read-only diagnostic sampling in a workshop telemetry desk, using a fixture block 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.

16 条回复

BR
BrunoAllen0278

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

16
FE
FelixBarnes0545

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.

21
BR
BrunoAllen0278

@FelixBarnes0545 Move the replay's file writing behind a bounded queue and let a separate writer handle it. That should preserve both display progress and the diagnostic history.

19
KA
KaiBennett0715

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

11
BR
BrunoAllen0278

True. I shouldn't have promised that. Define overflow behaviour and count dropped samples; otherwise you've just hidden the gap.

19
FE
FelixBarnes0545

Can routine samples be dropped but error summaries kept? I don't need endless identical status lines.

19
BR
BrunoAllen0278

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

14
HA
HanaBrooks0796

My setup originally queued its overflow warning through the writer that was already full, so the warning disappeared along with the samples it was meant to explain.

15
BE
BethCarter1020

So where does that warning go? Another log sounds like the same problem twice.

9
BR
BrunoAllen0278

@BethCarter1020 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.

7
FE
FelixBarnes0545

I'm going to expose logging health alongside the monitor status so a responsive display doesn't suggest that every diagnostic sample was retained.

21
KA
KaiBennett0715

@FelixBarnes0545 Are you displaying when the application observed the sample or when the writer saved it? A delayed writer makes those different events.

13
FE
FelixBarnes0545

I've checked: our displayed time comes from file writing. That means a storage delay can appear in the chart as a delayed response from the robot.

22
BR
BrunoAllen0278

Record when the application receives the observation and measure the later write delay independently, making the chart's chosen time field explicit.

21
FE
FelixBarnes0545

The replay establishes a logging stall, which answers what I needed to isolate. A completed fix still depends on continued processing with delayed storage and explicit reporting of diagnostic loss.

9
BR
BrunoAllen0278

Your conclusion matches the replay, and the condition for completion covers both processing and diagnostic loss.

12

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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