Why does my FR10 viewer freeze when it closes a log file?

IsabelChen1170 · 12 Apr 2025, 13:49 UTC

Closed
IS
IsabelChen1170
I need to stop our read-only FR10 viewer freezing because operators are treating the frozen values as current. It began after I enabled detailed logs. Closing a log file seems to coincide with the pause, but I have not timed the controller reads separately. Cell controls use another system.

12 replies

OL
OliverChen1146
Replying to IsabelChen1170

Try timing the file close before replacing any kit, our laptop comparison taught me that apparently identical software can hide some very different things happening underneath

17 points
IS
IsabelChen1170
Replying to OliverChen1146

The close takes much longer than expected on the workshop laptop. Same small read request stays quick when tested separately. I'll check what our close handler actually does.

20 points
OL
OliverChen1146
Replying to IsabelChen1170

Is it copying the file somewhere afterwards?

21 points
NA
NathanBrooks0808
Replying to IsabelChen1170

Can I ask whether the display and file handler share one loop? A slow copy would only explain the frozen readings if it holds up that work.

15 points
IS
IsabelChen1170
Replying to NathanBrooks0808

Yes. Close handler also compresses the finished log on the same loop. That was added with verbose logging. I had looked only at the write call.

10 points
OL
OliverChen1146
Replying to IsabelChen1170

Found the extra job, then. Compression caught us out on a report export, looked like the save button had stopped working when it was just very busy.

11 points
NA
NathanBrooks0808
Replying to IsabelChen1170

How will you show stale values while this is being fixed?

12 points
LO
LouisBell0659
Replying to IsabelChen1170

Who maintains the viewer after you move compression elsewhere, and will they know where failed archive work ends up?

17 points
EL
EllaArcher0381
Replying to IsabelChen1170

Could you test with deliberately slow archive work? That might show whether the display really stays responsive after the change, rather than only during an easy run.

20 points
IS
IsabelChen1170
Replying to LouisBell0659

Display now shows the age of its last reading. Compression runs separately with a limit on pending work, and failed archive tasks are visible. Our software maintainer has the queue and storage notes.

23 points
IS
IsabelChen1170
Replying to EllaArcher0381

We ran the slow-archive test. Readings kept updating and the archive warning appeared when work backed up. I still need the normal shift trial before handing this version over.

10 points
OL
OliverChen1146
Replying to IsabelChen1170

Did the shift trial happen yet? I'm curious whether that age display stopped the frozen-value confusion as well.

6 points

Discussion closed

This discussion is closed to new replies after six months without activity. Last activity: .