Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get missing segments sometimes #7

Open
micahjohnson150 opened this issue Feb 29, 2020 · 2 comments
Open

Unable to get missing segments sometimes #7

micahjohnson150 opened this issue Feb 29, 2020 · 2 comments

Comments

@micahjohnson150
Copy link
Member

  • radicl version: 0.3.2
  • Firmware version (if applicable): 1.45.3.2
  • Python version: 3.6
  • Operating System: linux

Description

When using the lyte_hi_res command which is installed with radicl I see a lot of errors regarding probe meas state and usually a dropped segment that is never retrieved.

Check it out.

What I Did


Press the probe button to end the measurement:
radicl.probe INFO Waiting for state 3, current state = 1

radicl.probe ERROR getProbeMeasState error: COM
radicl.probe ERROR getProbeMeasState error: COM
radicl.probe ERROR getProbeMeasState error: COM
radicl.probe ERROR getProbeMeasState error: COM
radicl.probe ERROR getProbeMeasState error: COM
radicl.probe ERROR getProbeMeasState error: COM
radicl.probe ERROR getProbeMeasState error: COM
radicl.probe ERROR getProbeMeasState error: COM
radicl.probe ERROR getProbeMeasState error: COM
radicl.probe DEBUG 37 queries while waiting for state 3
	Measurement ended...
radicl.radicl INFO Downloading calibratedsensor data from probe...
radicl.radicl DEBUG Requesting data using function readCalibratedSensorData
radicl.probe DEBUG Reading 4991 segments
radicl.probe ERROR readSegmentData error: COM (Retry 0, Segment=2031, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 1, Segment=2031, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 2, Segment=2031, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 3, Segment=2031, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 4, Segment=2031, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 5, Segment=2031, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 6, Segment=2031, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 7, Segment=2031, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 8, Segment=2031, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 9, Segment=2031, buffer_ID=0)
radicl.probe ERROR readRawSensorData error: Data integrity error (not all bytes read - incomplete segment)
radicl.probe ERROR Expected=1277696, Read=1277440
radicl.radicl WARNING Failed to retrieve calibratedsensor data, retrying...
radicl.radicl DEBUG Failed calibratedsensor attempt #0
radicl.radicl DEBUG Requesting data using function readCalibratedSensorData
radicl.probe DEBUG Reading 4991 segments
radicl.probe ERROR readSegmentData error: COM (Retry 0, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 1, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 2, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 3, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 4, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 5, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 6, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 7, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 8, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 9, Segment=809, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 0, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 1, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 2, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 3, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 4, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 5, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 6, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 7, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 8, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 9, Segment=3655, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 0, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 1, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 2, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 3, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 4, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 5, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 6, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 7, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 8, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 9, Segment=3684, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 0, Segment=4459, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 1, Segment=4459, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 2, Segment=4459, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 3, Segment=4459, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 4, Segment=4459, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 5, Segment=4459, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 6, Segment=4459, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 7, Segment=4459, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 8, Segment=4459, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 9, Segment=4459, buffer_ID=0)
radicl.probe ERROR readRawSensorData error: Data integrity error (not all bytes read - incomplete segment)
radicl.probe ERROR Expected=1277696, Read=1276672
radicl.radicl WARNING Failed to retrieve calibratedsensor data, retrying...
radicl.radicl DEBUG Failed calibratedsensor attempt #1
radicl.radicl DEBUG Requesting data using function readCalibratedSensorData
radicl.probe DEBUG Reading 4991 segments
radicl.probe ERROR readSegmentData error: COM (Retry 0, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 1, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 2, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 3, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 4, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 5, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 6, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 7, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 8, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 9, Segment=172, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 0, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 1, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 2, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 3, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 4, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 5, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 6, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 7, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 8, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 9, Segment=209, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 0, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 1, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 2, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 3, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 4, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 5, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 6, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 7, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 8, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 9, Segment=1910, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 0, Segment=3036, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 1, Segment=3036, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 2, Segment=3036, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 3, Segment=3036, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 4, Segment=3036, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 5, Segment=3036, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 6, Segment=3036, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 7, Segment=3036, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 8, Segment=3036, buffer_ID=0)
radicl.probe ERROR readSegmentData error: COM (Retry 9, Segment=3036, buffer_ID=0)
radicl.probe ERROR readRawSensorData error: Data integrity error (not all bytes read - incomplete segment)

@micahjohnson150
Copy link
Member Author

@arothenbuhler this comes up probably 1/10 times. Its not urgent but I find it peculiar.

@arothenbuhler
Copy link

I have seen similar issues and am planing on improving the serial communication. This should take care of some of the issues. I am not sure why this fails completely, but I'll look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants