How do I measure where status processing gets stuck? - controller availability logging

NaomiBennett0767 · 1 Apr 2026, 01:13 UTC

Reply to discussion
NA
NaomiBennett0767
Our diagnostic application watches Fairino FR5 for controller availability logging in a bench setup replaying controller diagnostics, using a sample bracket 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.

11 replies

FE
FelixAli0197
Replying to NaomiBennett0767

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

8 points
NA
NaomiBennett0767
Replying to FelixAli0197

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

9 points
FE
FelixAli0197
Replying to NaomiBennett0767

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

13 points
CA
CallumChen1143
Replying to FelixAli0197

A bounded queue fills. You can't promise the whole diagnostic story survives. What happens when storage stays blocked?

10 points
FE
FelixAli0197
Replying to CallumChen1143

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

6 points
NA
NaomiBennett0767
Replying to FelixAli0197

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.

8 points
FE
FelixAli0197
Replying to NaomiBennett0767

Yes, with explicit limits for both. Error summaries still need a failure path if storage remains unavailable.

20 points
LE
LeahChan1104
Replying to FelixAli0197

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.

16 points
FE
FelixChan1067
Replying to LeahChan1104

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

14 points
FE
FelixAli0197
Replying to FelixChan1067

Expose a counter or health state directly in the application. Include it in exports when writing is possible again.

10 points
NA
NaomiBennett0767
Replying to FelixAli0197

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

2 points

Add to the discussion

Welcome to Application Robot

Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.