mabl/pyRigolWFM

DS4022 format parsing error

Opened this issue · 4 comments

python wfmutil.py info /media/.../Newfile9.wfm

_Format does not follow the known file format. Try the --forgiving option.
If you'd like to help development, please report this error:

Field padding1 == not met, got 8_

Newfile9.wfm.zip

I have also had this and the --forgiving option doesn't help
the error message has a strange character hence an image

image

Attatched is the wfm file and a screen grab of what it should look like
Newfile2.zip

I found a wfm to csv converter made by Rigol. I am guessing from the description that the DS4000 and DS6000 scopes have a different .wfm file format than the DS1000 scopes: https://rigol.desk.com/customer/en/portal/articles/2282335-wfm-converter

I'm working on reverse engineering the DS4000 format at https://github.com/Cat-Ion/rigol-ds4000-wfm if you're interested in supporting it. If you want, I can also provide you with some sample files.

I'm working on reverse engineering the DS4000 format at https://github.com/Cat-Ion/rigol-ds4000-wfm if you're interested in supporting it. If you want, I can also provide you with some sample files.

Following on mabl's and Cat-Ion's work, I created a parser that handles 1000E, 1000Z, 2000, 4000, and 6000 waveforms at https://github.com/scottprahl/RigolWFM . Each waveform format is different and a different parsers are needed for each.