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

Where should our FR5 dashboard reject a failed status response?

GabrielArcher0366 · 2026年7月29日 21:04 UTC

回复讨论
GA
GabrielArcher0366
My earlier FR10 adapter rejected malformed replies. This FR5 training dashboard has a different replacement SDK container: failures look like status. Where should validation end and display handling begin?

11 条回复

RA
RaviBennett0737

Let the adapter establish whether this documented response is a valid successful reading. Let the display distinguish that reading from unavailable or old data. Otherwise each screen ends up guessing what the container means.

4
GA
GabrielArcher0366

So return validity separately from the value. Not a made-up status code for failure?

13
SA
SamAdams0159

Yes. A substitute number can look entirely believable, which is a rather efficient way of hiding the original fault.

5
JA
JamieCarter0991

And don't accept a container merely because its value-shaped field exists.

3
RA
RaviBennett0737

Jamie's point belongs at that boundary too: documented success indication, expected structure and value interpretation. Use the installed SDK's documentation rather than transferring the earlier adapter's field assumptions.

15
GA
GabrielArcher0366

I've captured valid and failed replies from this version. Their payloads alone aren't enough to distinguish success.

16
SA
SamAdams0159

Use those captures in a small offline test before another dashboard session. Include malformed input and the transition from a good reading to a failed request.

8
JA
JamieCarter0991

Does a failure leave the previous good reading looking current?

9
GA
GabrielArcher0366

It did. Now failure marks it unavailable; the previous reading is separately labelled with its timestamp.

18
GA
GabrielArcher0366

Offline cases pass. Approved read-only comparison also matches the controller indication. Thanks, the stale-reading check caught another misleading screen state.

16
RA
RaviBennett0737

Keep those captured examples with the version record. Whoever updates this training laptop next should be able to rerun the boundary checks without reconstructing your investigation.

19

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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