Closed danbates2 closed 4 years ago
Well, first you have a DS2000 scope, not a DS1000E so your command should be
wfmconvert 2 csv test.wfm
I just tried this and discovered a small bug in how units for the DS2000 scope were handled. I fixed this in the github
repository, but have not generated a new release (so you can't just do pip install --upgrade RigolWFM
yet)
In any case, your file converted without problems with the current version.
Apologies, I missed that part of the documentation.
Thank you.
At least a bug was found!
I got a new error running the new command.
Traceback (most recent call last):
File "/usr/local/bin/wfmconvert", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/RigolWFM/wfmconvert.py", line 94, in main
actionMap[args.action](args, scope_data, filename)
File "/usr/local/lib/python3.7/site-packages/RigolWFM/wfmconvert.py", line 33, in csv
s = scope_data.csv()
File "/usr/local/lib/python3.7/site-packages/RigolWFM/wfm.py", line 304, in csv
s += ",%s%s" % (v_prefix, ch.unit.name.upper())
AttributeError: 'int' object has no attribute 'name'
I explicitly said that the correction was only in the repository!
In any case, I just released v.0.6.5
that you can install
pip install --upgrade RigolWFM
Hi, I'm getting the following error trying to convert a wfm to csv
The scope's on the latest firmware. 00.03.06
Any clues?
I've tried with a couple different files now. I can use the plotter to plot both files out, so that's working. Perhaps there's another way to pip the data to a csv?
Here's the test file:
test.wfm.zip