N0ury / dmm_util

dmm_util is a utility for interacting with Fluke 289 and 287 Series multimeters.
MIT License
15 stars 4 forks source link

Errors on downloading 100+ data values #18

Closed dbbotkin closed 2 years ago

dbbotkin commented 2 years ago

Some feedback on issues with bulk data transfer. With less than 100 item downloads of VDC floats, done in a few seconds. Over about 120, it throws an error and quits. Block problem probably. For testing, I can initiate a script to download 100 items and repeat by manual 'run' forever with no problem. To download 200+ I have to use 'time.sleep(1') to avoid throwing an error.

You might want to check your code in 'read_retry'? Or is there a way to slice the data without iterating through samples?

dbbotkin commented 2 years ago

For some reason the error occurs at item 113 repeatedly ???!

Traceback (most recent call last): File "/Users/donal/Library/Mobile Documents/com~apple~CloudDocs/Documents/Documents - SilverSurfer/Fluke 289 programs/Get_measurement_value.py", line 305, in sample = dict(qsrr('553',str(v))) File "/Users/donal/Library/Mobile Documents/com~apple~CloudDocs/Documents/Documents - SilverSurfer/Fluke 289 programs/Get_measurement_value.py", line 89, in qsrr raise ValueError('By app: Invalid block size: %d should be 146' % (len(res))) ValueError: By app: Invalid block size: 145 should be 146

dbbotkin commented 2 years ago

The "item 113" is not consistent across Recordings; there might be a problem in the data?

dbbotkin commented 2 years ago

My problem is same as #7

N0ury commented 2 years ago

Yes, it's a duplicate. It should be solved now. v0.2.9 is in the master branch, and in PyPi.