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

Our FR5 dashboard gives a failed query a perfectly respectable status

NinaAbbott0066 · 2026年3月26日 12:01 UTC

回复讨论
NI
NinaAbbott0066
I asked why the training dashboard looked connected during a failed FR5 query. The wrapper was turning part of the new SDK response container into a status number without checking whether the request succeeded. We have both version definitions now. I need the developer to fix the interpretation, not just choose a less convincing colour for the wrong answer.

20 条回复

NA
NaomiArcher0419

Use each supported version's documented success and payload fields explicitly. Can you reproduce the false status from a saved failed response?

13
NI
NinaAbbott0066

Yes. Same failure response produces a new displayed status every time, complete with a current timestamp. The old scalar test never exercised this container.

8
AN
AnnaAli0242

Keep that failing test. It's doing useful work now.

23
HA
HarishBrooks0837

Does the wrapper know the configured SDK version, or is it trying to recognise the format from whatever happens to come back? I wouldn't buy clever guessing when you already know what you installed.

10
NI
NinaAbbott0066

Configured version is available. Developer had one generic decoder for both, which was apparently simpler until it wasn't.

23
AN
AnnaAbbott0068

Make unsupported versions fail visibly too, rather than sending them through whichever decoder looks closest.

10
NA
NaomiArcher0419

And define the display for a failed read after a successful one. Removing the new false value can still leave the last good value looking current.

8
NI
NinaAbbott0066

Test build now uses two explicit paths. Saved success and error responses decode as intended for both versions. A failed read removes the current value and labels the previous one last successful reading.

7
AN
AnnaAli0242

With its old observation time?

14
NI
NinaAbbott0066

Yes, the observation time stays attached to that last successful reading. Failure time is separate diagnostic information.

7
HA
HarishBrooks0837

What if the response says success but the required value is missing? That's still no useful reading, even though the outer bit sounds encouraging.

19
NI
NinaAbbott0066

That case exposed another fallback to zero. Removed it. Missing required value now shows unavailable and retains the malformed response detail for maintenance.

14
AN
AnnaAbbott0068

Try a legitimate zero value as well; missing data and a real zero must not get the same treatment.

10
NA
NaomiArcher0419

AnnaAbbott's case should check the exact displayed value and its availability state, not merely that the screen didn't throw an exception.

16
NI
NinaAbbott0066

Both tests pass now: valid zero is displayed as current, absent value is unavailable. Unknown container and unsupported-version cases also refuse to invent a status.

4
AN
AnnaAli0242

And a good reply after the bad one?

17
NI
NinaAbbott0066

Restores the current reading and new observation time. We ran that sequence without reopening the screen between replies.

17
HA
HarishBrooks0837

Have the trainer read those states without the developer explaining them. The data can be right while the words still sound like the robot has rejected the coupon.

7
NI
NinaAbbott0066

Trainer tried it with the saved sequences and correctly distinguished unavailable controller data from an inspection outcome. Maintainer checked the installed dashboard build against the same cases. The false-status fault is closed.

0
NA
NaomiArcher0419

Thanks for checking the missing-value path too. That was a separate way to get a plausible wrong number, and it now has a test of its own.

10

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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