FR5 diagnostic screen freezes when detailed logging is enabled

AnnaArcher0416 · 28 Jun 2026, 21:10 UTC

Reply to discussion
AN
AnnaArcher0416
Detailed logging coincides with our read-only FR5 diagnostic display freezing while the destination folder is busy. Cell controls are separate. I suspect file writes, but I have not separated communication delay from display delay. What timing evidence would settle which path is stuck?

21 replies

BE
BenChan1066
Replying to AnnaArcher0416

Can you time the request, response receipt, log write and screen update separately? I would want to know whether new data stops arriving or arrives and then waits somewhere before display.

7 points
AN
AnnaArcher0416
Replying to BenChan1066

The current timing is one total for the polling routine. It includes logging and display preparation, so it cannot answer that. I have asked the developer to split those observations.

6 points
SA
SamBennett0768
Replying to AnnaArcher0416

Replay saved replies into a deliberately slow test destination too, then you can make the file side awkward without depending on the controller to misbehave at the same moment.

19 points
EL
ElenaBell0688
Replying to AnnaArcher0416

What does the frozen screen say about its age, Anna? Actually, can someone arriving during the freeze tell it has stopped refreshing without having watched the last change?

15 points
AN
AnnaArcher0416
Replying to ElenaBell0688

No age shown. A green available indication can sit there unchanged. We have flagged that display limitation for users while the developer traces the delay; it is not an application control signal.

8 points
BE
BenBarnes0544
Replying to AnnaArcher0416

Does the trend record have gaps too, or is only the display delayed?

16 points
BE
BenChan1066
Replying to BenBarnes0544

Ben Barnes, that's worth separating. A responsive screen and a complete trend are different requirements; I don't know whether Anna's detailed file is optional diagnostics or the record someone relies on.

6 points
AN
AnnaArcher0416
Replying to BenChan1066

The trend is needed for this maintenance study. Detailed text is optional. New timings show replies continue arriving while the display waits. The writer holds a shared lock during its file write, and the screen needs that lock to obtain a snapshot.

22 points
SA
SamBennett0768
Replying to AnnaArcher0416

So not a slow controller in that captured case, the screen is queuing behind the writer; I'd keep the slow-destination replay as a regression test for the lock change.

7 points
EL
ElenaBell0688
Replying to AnnaArcher0416

Does the display age indicator use that same locked snapshot? It would be unfortunate to fix the wording and leave the warning waiting behind the operation it is meant to describe.

14 points
AN
AnnaArcher0416
Replying to ElenaBell0688

It would in the first proposal. Developer has changed that: the view calculates age from the last received snapshot it already owns. File I/O is being moved outside the shared-state lock. No test result yet.

1 points
BE
BenChan1066
Replying to AnnaArcher0416

What happens when storage stays slow long enough that the trend writer cannot keep up? Removing that lock does not by itself define whether queued records grow, get lost or stop the study.

9 points
AN
AnnaArcher0416
Replying to BenChan1066

Study owner requires an explicit recording failure, not silently missing trend points. The proposed bounded buffer will report that failure and mark the study record incomplete if exhausted. Optional diagnostic text can be dropped with its own count, separately labelled.

17 points
SA
SamBennett0768
Replying to AnnaArcher0416

I'd turn the optional text off for the actual study unless it earns its place, fewer writes and fewer ways to obscure the bit you really need.

20 points
BE
BenBarnes0544
Replying to AnnaArcher0416

Will the replay also test the full-buffer warning?

19 points
EL
ElenaBell0688
Replying to SamBennett0768

Sam, that can reduce load but Anna still needs the failure behaviour. Even with text off, somebody can disconnect or fill the destination. I'd avoid letting a quiet test become proof that recording cannot fail.

15 points
AN
AnnaArcher0416
Replying to BenBarnes0544

The slow-write replay now leaves the display refreshing. Forced buffer exhaustion raises Recording failed and marks the trend incomplete; optional-text drops have a different counter. We also tested delayed replies: age increases and the value becomes stale rather than remaining green.

16 points
BE
BenChan1066
Replying to AnnaArcher0416

How is a later successful write presented after that recording failure? I would not want it to erase the gap and make the same study look complete again.

6 points
AN
AnnaArcher0416
Replying to BenChan1066

It does not erase it. The incomplete status stays attached to that study, and starting another recording requires an explicit new study record. The test retained the gap even after the destination recovered.

3 points
BE
BenBarnes0544
Replying to AnnaArcher0416

Thanks for reporting the recovery case. Has the maintainer run the corrected version through normal launch?

8 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.