Our FR5 dashboard finds a believable mode inside a failed request

ElliotArcher0422 · 15 Jun 2026, 03:05 UTC

Reply to discussion
EL
ElliotArcher0422
Replacement SDK returns a container where our old dashboard expected one status value. Failed read, sensible-looking mode on screen. What should decide whether there's a mode worth displaying?

12 replies

HA
HarishAllen0315
Replying to ElliotArcher0422

What do the captured successful and failed replies contain, and which documented SDK version produced them? The container's existence doesn't establish a successful read.

10 points
EL
ElliotArcher0422
Replying to HarishAllen0315

Failure has a non-success result and no mode payload. Our adapter substitutes zero for missing data, then renders that as a mode.

13 points
NO
NoraBrown0931
Replying to ElliotArcher0422

There is your invented status. The adapter needs to recognise a successful reply before interpreting the mode. Missing data is not the robot choosing mode zero, even if zero happens to be a valid value elsewhere.

11 points
HA
HazelAllen0310
Replying to ElliotArcher0422

I would keep the distinction visible to the reader as well. An unavailable current reading and a known operating mode shouldn't share the same plain status label.

6 points
LU
LucaChan1048
Replying to HazelAllen0310

Our learners read a stale value as current. The tiny timestamp didn't rescue it.

13 points
HA
HazelAllen0310
Replying to LucaChan1048

Luca, was the timestamp actually described as the last successful read? A time beside a value can also look like the screen's refresh time, which leaves the same misunderstanding.

5 points
LU
LucaChan1048
Replying to HazelAllen0310

Just a time. You're right, we hadn't said what happened then.

7 points
EL
ElliotArcher0422
Replying to NoraBrown0931

I've removed the zero fallback in our offline adapter. Captured failures now show unavailable; the last successful mode sits separately with its read time.

12 points
HA
HarishAllen0315
Replying to ElliotArcher0422

Does an unrecognised successful payload also become unavailable, or can its raw value still slip through the old mode lookup?

5 points
NO
NoraBrown0931
Replying to HarishAllen0315

Harish's case needs its own test. Also test a malformed reply after a good read. The screen must not preserve the old current-mode label just because the new answer was awkward to parse.

18 points
EL
ElliotArcher0422
Replying to HarishAllen0315

Unrecognised payload now produces unsupported response in the harness. The good-then-malformed sequence is still missing. Leaving this as an adapter change under test.

15 points
HA
HazelAllen0310
Replying to ElliotArcher0422

That wording distinguishes a failed request from a response your software cannot interpret. I'd have an intended user explain both screens before deciding whether the distinction is clear enough.

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