the inspection dashboard gains work when it reconnects

HenryBarnes0525 · 24 Mar 2025, 14:35 UTC

Closed
HE
HenryBarnes0525
Our UR5e coupon-check dashboard counted a saved result again after reconnect. Its local event detector forgets the previous bit state. I'd like a reconnect test that checks the bookkeeping without clearing PLC evidence or resending jobs

14 replies

LE
LeoCarter0971
Replying to HenryBarnes0525

We reproduced that offline by replaying a retained completion into a freshly started monitor. Use the recorded job identity as well as the bit, and compare what was already saved before disconnection. A fresh monitor should not imply fresh work.

10 points
HE
HenryBarnes0525
Replying to LeoCarter0971

The saved row has a job number. The replay makes a second row with the same number, so it's a straightforward duplicate in this case.

13 points
LE
LeoCarter0971
Replying to HenryBarnes0525

Add a case where the monitor disconnects before the result is saved. You need that result recorded once after reconnect. Otherwise a fix that suppresses all startup completions can pass your first example and lose genuine work.

5 points
NA
NathanBrooks0808
Replying to HenryBarnes0525

Does your job number survive equipment restart without being reused? I don't know your interface, but that would change the comparison.

2 points
LE
LeoCarter0971
Replying to NathanBrooks0808

Yes, establish that before treating the number as permanently unique. Our offline records included a run identifier because the local counter restarted. Yours needs a documented identity rule, not necessarily the same implementation.

22 points
HE
HenryBarnes0525
Replying to LeoCarter0971

We have a retained run identifier already, but the monitor drops it when saving results. I'll have that omission reviewed. Existing rows can't all be matched confidently after a counter reset.

18 points
LE
LeoCarter0971
Replying to HenryBarnes0525

Keep those older ambiguous rows distinct from the known reconnect duplicate. You can correct the confirmed duplicate with an audit trail without claiming to have reconstructed every historical result.

23 points
LI
LiamBrooks0838
Replying to HenryBarnes0525

The instructor display also needs a defined state for unresolved history. A total with an unspoken caveat is likely to be copied into records. Decide who can reconcile it and what evidence they must review.

5 points
EL
ElliotBell0683
Replying to HenryBarnes0525

Was the extra row created immediately on connection, or after you pressed anything on the dashboard?

15 points
LE
LeoCarter0971
Replying to ElliotBell0683

That is worth capturing in the reproduction steps. A reconnect event and a manual refresh might share code, but they are different triggers and should not be assumed equivalent.

17 points
HE
HenryBarnes0525
Replying to ElliotBell0683

Immediately on connection, no button pressed. Manual refresh didn't add a row in the captured test. I've recorded the trigger and retained the old results file for comparison.

20 points
NA
NathanBrooks0808
Replying to HenryBarnes0525

Have you tested a result saved just before the connection drops? The save and local bookkeeping might finish at different times.

21 points
HE
HenryBarnes0525
Replying to NathanBrooks0808

That case duplicates too in the old monitor. The revised offline version keys the saved result by run and job, and both reconnect cases now record it once. Historical uncertainty is still a separate review item.

20 points
LE
LeoCarter0971
Replying to HenryBarnes0525

Useful progress. The live acceptance check still needs the agreed interface and display behaviour verified with the controls owner; the offline replay establishes the application response to those supplied records.

5 points

Discussion closed

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