pyRigolWFM icon indicating copy to clipboard operation
pyRigolWFM copied to clipboard

DS4022 format parsing error

Open Juzujka opened this issue 9 years ago • 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

Juzujka avatar Sep 01 '16 11:09 Juzujka

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

alexsconway avatar Dec 08 '16 14:12 alexsconway

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

badboybeyer avatar Feb 07 '18 23:02 badboybeyer

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.

Cat-Ion avatar Dec 30 '18 11:12 Cat-Ion

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.

scottprahl avatar Mar 02 '20 02:03 scottprahl