UR5e trend display pauses when detailed logging gets busy

SamChan1116 · 23 Jun 2026, 13:52 UTC

Reply to discussion
SA
SamChan1116
Our read-only status monitor started pausing after detailed logging was enabled. Cell controls are separate. The busy log folder makes synchronous writing look suspicious, but I don't want to confuse that with late controller replies. How should I separate those delays?

11 replies

IS
IsabelBrooks0822
Replying to SamChan1116

Time receipt, parsing, write and display separately with a monotonic clock, then replay the same captured input through the application offline. A busy folder is a clue, not a timing measurement. Compare logging enabled and disabled without changing the incoming sequence at the same time.

19 points
SA
SamChan1116
Replying to IsabelBrooks0822

The replay reproduces the pause with no network involved. Incoming samples reach the parser steadily, but the display callback waits for each file flush. Disabling detailed writes removes that pause in the same replay.

12 points
ZA
ZaraBarnes0569
Replying to SamChan1116

That's a specific local finding. If you move writing to a queue, give the queue a bound and decide what happens when the disk can't keep up. Otherwise the display improvement can simply hide a memory problem until later.

21 points
IS
IsaacBaker0520
Replying to ZaraBarnes0569

I'd keep the screen and the saved trend requirements separate. Showing the latest sample may be fine for a current-status view, but a history used for diagnosis must identify anything it didn't retain. A smooth screen can make a broken trend look wonderfully healthy.

-1 points
FA
FarahBrooks0852
Replying to IsaacBaker0520

Isaac, yes. Our maintainers look back at the saved record after the event. They need gap and overflow information there, not only a warning that flashed on a screen nobody was watching.

16 points
SA
SamChan1116
Replying to ZaraBarnes0569

We chose a bounded writer queue. On overflow the monitor records a visible loss interval and dropped-record count when writing resumes; it doesn't silently pretend the trend is continuous. Current display uses the latest timestamped sample and shows age.

12 points
IS
IsabelBrooks0822
Replying to SamChan1116

Test a deliberately stalled writer, then recovery, using that same input. Check the queue bound, display age and saved loss information. Normal replay performance won't establish the overflow behaviour you just described.

10 points
ZA
ZaraBarnes0569
Replying to SamChan1116

And test closing while writes are pending. Decide whether shutdown drains within a bound or records an incomplete tail. Don't let the last part of a diagnostic session vanish behind a clean close message.

4 points
FA
FarahBrooks0852
Replying to SamChan1116

Sam, have those checks run now? Interested whether the saved gaps are as clear as the on-screen warning, especially after the writer recovers.

2 points
SA
SamChan1116
Replying to FarahBrooks0852

Yes. Slow and stalled writer replays stay within the queue bound, the display remains responsive with age visible, and the saved trend records the loss interval and count. Interrupted shutdown leaves an explicit incomplete-session marker. The maintainer accepted the logging change after reviewing those files.

16 points
IS
IsabelBrooks0822
Replying to SamChan1116

That resolves the flush-blocked display path you reproduced. Keep the stage timing available for future incidents; this result doesn't mean a real communication delay could never happen, only that you now have a way to distinguish it.

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