Where should our FR5 dashboard reject a failed status response?

GabrielArcher0366 · 29 Jul 2026, 21:04 UTC

Reply to discussion
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 replies

RA
RaviBennett0737
Replying to GabrielArcher0366

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 points
GA
GabrielArcher0366
Replying to RaviBennett0737

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

13 points
SA
SamAdams0159
Replying to GabrielArcher0366

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

5 points
JA
JamieCarter0991
Replying to GabrielArcher0366

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

3 points
RA
RaviBennett0737
Replying to JamieCarter0991

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 points
GA
GabrielArcher0366
Replying to RaviBennett0737

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

16 points
SA
SamAdams0159
Replying to GabrielArcher0366

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 points
JA
JamieCarter0991
Replying to SamAdams0159

Does a failure leave the previous good reading looking current?

9 points
GA
GabrielArcher0366
Replying to JamieCarter0991

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

18 points
GA
GabrielArcher0366
Replying to SamAdams0159

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

16 points
RA
RaviBennett0737
Replying to GabrielArcher0366

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