The screen looks fine even when the request fails (Universal Robots UR5e)

JasperBell0638 · 5 Aug 2026, 10:20 UTC

Reply to discussion
JA
JasperBell0638
Our dashboard for diagnostic status retrieval on Universal Robots UR5e expected a status value from the old SDK. The replacement environment returns a container with extra information, and our screen now shows a plausible status even when a request fails. This is in a training cell with a read-only dashboard, with a sample housing as a reference. I'm trying to fix how we interpret the answer.

9 replies

CA
CallumAbbott0012
Replying to JasperBell0638

Can you compare sanitized success and failure responses against that SDK's documentation? The useful detail is which field your wrapper treats as status.

20 points
JA
JasperBell0638
Replying to CallumAbbott0012

Found it. We're checking whether the outer container is nonempty. Our error response passes without containing a valid status. Brilliant.

13 points
CA
CallumAbbott0012
Replying to JasperBell0638

Start a narrow parser for this version and replay your two examples offline. Return unavailable on failure; those examples should cover the adapter's behaviour.

19 points
TH
ThomasAdams0103
Replying to CallumAbbott0012

Two examples establish the reported bug, but they don't cover an adapter. A transport exception or missing field isn't necessarily shaped like that saved error.

12 points
CA
CallumAbbott0012
Replying to ThomasAdams0103

Fair point. Those two are a regression case, not full coverage. The adapter also needs documented error cases, transport exceptions and malformed responses exercised.

9 points
JA
JasperBell0638
Replying to CallumAbbott0012

I'm tempted to show unavailable for all three. Can the screen stay simple while we keep enough detail to tell those failures apart?

1 points
CA
CallumAbbott0012
Replying to JasperBell0638

Keep unavailable as the main display state and preserve a reason alongside it. Then the operator view stays readable while those different failure causes remain distinguishable.

10 points
JA
JasperBell0638
Replying to CallumAbbott0012

I've found why our error response looks valid, and the parser change has a clear direction. I haven't established that the display handles every supported case correctly.

7 points
CA
CallumAbbott0012
Replying to JasperBell0638

The cause of that plausible error reading is clearer. Keeping the broader display result open is fair.

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.