Why does my FR10 dashboard turn a failed read into a mode?

StevenCampbell · 8 Jun 2026, 19:56 UTC

Reply to discussion
ST
StevenCampbell
Changed SDK on the training dashboard. Old wrapper expected a value. New response is a container, and failed calls can show a plausible mode. Read-only display, but people use it. Need to sort the response meaning before I trust anything else on that screen.

13 replies

EL
EllaChen1164
Replying to StevenCampbell

What did a failed call actually return? Keep that beside one successful response from the same version. Container shape alone won't tell you which field carries success.

20 points
ST
StevenCampbell
Replying to EllaChen1164

Failure capture has an error field plus data in the place we read as mode. Success capture also has both fields. Wrapper goes straight for data without checking the error.

15 points
BE
BethBaker0498
Replying to StevenCampbell

Check the documented success condition before decoding data, and make an unfamiliar response fail visibly rather than selecting a default mode.

18 points
TH
ThomasChan1060
Replying to StevenCampbell

What will the trainee see when a read fails?

1 points
ST
StevenCampbell
Replying to ThomasChan1060

At present, last value. No indication it's old. I'll change that to unavailable with last successful reading time.

21 points
EL
EllaChen1164
Replying to StevenCampbell

Keep the old value only if it's clearly historical. I'd rather see a blank than have to teach somebody that a normal-looking mode might be imaginary.

12 points
ST
StevenCampbell
Replying to EllaChen1164

Fair enough. Main mode will be blank. Last good value can stay in the detail view, labelled with its time.

7 points
RE
RebeccaChan1126
Replying to StevenCampbell

Can you feed those captured replies back through the wrapper on a laptop? I wouldn't drag the robot into every parser check. It has done enough unpaid acting for the dashboard.

17 points
ST
StevenCampbell
Replying to RebeccaChan1126

Yes, using saved responses now. Caught a malformed container that still slipped through. Adding that example to the checks too.

18 points
EL
EllaChen1164
Replying to StevenCampbell

Do you still need to support the old SDK? I'd keep its interpretation separate if its response contract is different. Guessing the version from whatever fields arrive sounds fragile.

14 points
BE
BethBaker0498
Replying to StevenCampbell

And include a successful response whose mode you do not recognise; success does not make every numeric value meaningful to your display.

6 points
ST
StevenCampbell
Replying to EllaChen1164

Only new SDK required here. Wrapper now checks its documented result, structure and known modes. Saved success, failure, malformed and unknown-mode examples display correctly. Dashboard updated; failed reads show unavailable.

7 points
TH
ThomasChan1060
Replying to StevenCampbell

Thanks for posting the screen behaviour too. That's the bit I'd put in the trainee handout.

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