简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

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

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

忘记密码?

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