How do I trace one inspection attempt across systems?

YasminArcher0354 · 2026年4月17日 14:54 UTC

已关闭

主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文

YA
YasminArcher0354
Our logs show a timeout during inspection-cycle reporting with Fairino FR5, but I can't assign an acknowledgement to the right attempt. We're in a small production cell with an inspection fixture, using a sample housing. Python, PLC and controller timestamps don't agree, and our application reused the job label after restarting. I'm trying to reconstruct what we actually know.

18 条回复

HA
HassanBrown0878

Can your application log identify where the process restarted? That would distinguish the reused labels within one source, even with mismatched clocks elsewhere.

17分
YA
YasminArcher0354

@HassanBrown0878 Found it. I can split our Python log into two sessions. Still no attempt match for that PLC acknowledgement, though.

17分
HA
HassanBrown0878

Keep source order, label the sessions and leave that acknowledgement unassigned. Comparing the timestamps alongside them should establish the combined order.

23分
JA
JamieChan1078

Those clocks disagree. Why would putting their timestamps beside the sessions establish an order across systems without an offset or matching exchange?

16分
HA
HassanBrown0878

@JamieChan1078 You're right; I went too far. Timestamps suggest matches. Keep source order and mark cross-system links uncertain unless evidence supports them.

20分
YA
YasminArcher0354

@HassanBrown0878 I'll leave it unassigned. A tidy timeline would be nice, but the nearest timestamp would still be a guess.

12分
JU
JuliaAdams0152

I had a clock adjustment make a merged incident view look plausible on my setup. The original per-source order was what let us correct the interpretation.

15分
HA
HassanBennett0704

Would monotonic time fix it? Or only inside one process?

11分
HA
HassanBrown0878

Use monotonic time for durations within a running process. It doesn't supply a shared clock across machines or restarts; keep session identity and wall-clock reference alongside it.

10分
YA
YasminArcher0354

@HassanBrown0878 Stable job ID, separate attempt ID for each try? Is that what our reused label is missing?

23分
HA
HassanBrown0878

Yes. Job for the work, attempt for each try. Record both with your event source and session.

13分
JA
JamieChan1078

Can your PLC exchange carry that identity? Python IDs won't label another system's records by magic.

9分
YA
YasminArcher0354

I can't see a correlation field in our export. I'll need the interface owner's input, and that won't retroactively identify the entries I already have.

22分
JU
JuliaAdams0152

Your view can still organize the application events correctly. Mark the missing cross-system identity explicitly so readers know where the link stops.

17分
HA
HassanBennett0704

@HassanBrown0878 What replaces started and done? I'd have picked those too

9分
HA
HassanBrown0878

@HassanBennett0704 Request recorded, acknowledgement received, completion reported, each with its source. Timeout means your wait ended; it doesn't establish the robot's final result.

23分
YA
YasminArcher0354

This resolves how I'll present the incident: separate source sequences, application sessions identified, and the unmatched acknowledgement left uncertain. I'm not claiming that establishes the job's final outcome.

6分
HA
HassanBrown0878

That gives readers an honest incident view without making the unknown result look settled.

13分

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .