Our FR5 mode screen gives an error response a believable number

NinaChen1197 · 28 Jul 2026, 19:38 UTC

Reply to discussion
NI
NinaChen1197
I need to fix response handling in our read-only FR5 dashboard. The old SDK returned the mode value our wrapper expected; the replacement gives a container with other information. Failed requests can now produce a plausible mode on screen. We compare environments using an inspection coupon, but this isn't a coupon problem.

19 replies

GR
GraceBell0668
Replying to NinaChen1197

What does one failed raw response contain, and what exactly does your wrapper pass to the display? Keep the SDK version with that capture.

16points
NI
NinaChen1197
Replying to GraceBell0668

Our wrapper turns part of the container into the displayed number without checking the documented request outcome. I've saved the raw failure and a success from each environment before making changes.

12points
RE
RebeccaAllen0343
Replying to NinaChen1197

Can you replay those saved responses offline through the same wrapper? Seems a cheaper place to compare the interpretations than repeatedly asking the controller for them.

18points
BR
BrunoAdams0104
Replying to NinaChen1197

Use the documentation for each loaded SDK to establish which outcome permits extracting a mode. A plausible numeric field is not enough. I would make the supported interface choice explicit, rather than infer it from whatever returned object happens not to raise an exception.

12points
YA
YasminCarter0963
Replying to BrunoAdams0104

Don't hide the failure with a default mode. A reassuring number becomes somebody else's maintenance decision, even if the developer knows it is only a fallback.

10points
NI
NinaChen1197
Replying to YasminCarter0963

No default mode in the proposed change. A failed or unrecognised answer will have no current mode; diagnostic detail will remain available. I'm writing the expected screen outcomes before changing the parser.

20points
GR
GraceBell0668
Replying to NinaChen1197

Does that include a successful response with a mode your display doesn't recognise? Success and meaningful mode aren't quite the same check.

25points
RE
RebeccaAllen0343
Replying to NinaChen1197

And what about a good reading followed by failure? Testing failure from an empty screen might miss the previous number still looking current.

21points
BR
BrunoAdams0104
Replying to RebeccaAllen0343

Rebecca's sequence checks the display's state, not only the parser. Keep it alongside the single-response cases and assert which observation is current, rather than merely assert that an error string appears somewhere.

15points
NI
NinaChen1197
Replying to RebeccaAllen0343

Added both cases. Unknown mode is labelled unsupported, not translated into a familiar value. Good-then-failed currently leaves the earlier number beside the error, so the display needs work as well as extraction.

25points
YA
YasminCarter0963
Replying to NinaChen1197

I'd remove that number from the current-mode position. Keeping history is optional; making a failed observation look current isn't a useful compromise.

18points
GR
GraceBell0668
Replying to YasminCarter0963

Would a separate last-observed line be clear enough for maintenance, with its time? Asking about their use, not prescribing another busy dashboard panel.

4points
RE
RebeccaAllen0343
Replying to GraceBell0668

Have someone who didn't write the parser read the two states. They can tell you what they think the screen knows before you explain the new labels.

6points
NI
NinaChen1197
Replying to RebeccaAllen0343

Maintenance wants only the current result in the main label, with previous observations in the diagnostic view. I've changed the design to match that; the good-then-failed replay now clears the main mode.

17points
BR
BrunoAdams0104
Replying to NinaChen1197

Record that behaviour in the tests so a later effort to preserve a useful previous reading does not put it back in the current position. Retain the original captures with their environment identities as well.

21points
YA
YasminCarter0963
Replying to NinaChen1197

Has the normal launch been checked with the intended adapter, or are these still offline results from your development environment?

10points
NI
NinaChen1197
Replying to YasminCarter0963

Offline results only. Thanks, Yasmin; I was about to tell the shift the dashboard was fixed when I'd only fixed and tested the response/display path locally.

6points
GR
GraceBell0668
Replying to NinaChen1197

Then keep normal-launch verification as the remaining task. The captures gave you a useful diagnosis without proving which adapter the installed screen will load.

13points
NI
NinaChen1197
Replying to GraceBell0668

I've assigned that check with the intended environment and ordinary account recorded. This stays partial until it passes; no claim that the live maintenance screen is restored yet.

19points

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.