Our FR5 dashboard finds a believable mode inside a failed request

ElliotArcher0422 · 2026年6月15日 03:05 UTC

回复讨论

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

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 条回复

HA
HarishAllen0315

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分
EL
ElliotArcher0422

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

13分
NO
NoraBrown0931

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分
HA
HazelAllen0310

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分
LU
LucaChan1048

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

13分
HA
HazelAllen0310

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分
LU
LucaChan1048

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

7分
EL
ElliotArcher0422

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分
HA
HarishAllen0315

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

5分
NO
NoraBrown0931

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分
EL
ElliotArcher0422

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分
HA
HazelAllen0310

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分

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 和 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。