Closed stapelberg closed 4 years ago
Good catch! It turns out you have provided the first test file that uses a 10X probe. I checked in a fix, but I do not know if it is correct. The issue is whether the 10X probe affects both the scale and the offset or just the vertical scale. As implemented door-open.wfm
now gives values around 28V.
Please git pull
or insert this after line 210 in channel.py
self.volts *= self.probe_value
and test this fix with (with a 10X probe) for a couple of known offsets.
If the fix works then I will release a new version.
Thanks for the prompt fix. I hereby confirm that commit https://github.com/scottprahl/RigolWFM/commit/4dea20c94cccc164a1a8d770f1c580763b240e66 makes the voltage levels come out as expected! :)
Try out the new release. If it works, I will close this issue
Confirmed version 0.6.6 is working fine! Thanks for the new release
Hey, thanks for maintaining this useful repository!
I installed RigolWFM 0.6.5 using pip.
After converting the attached
door-open.wfm
to CSV usingwfmconvert E csv door-open.wfm
, I noticed that the resulting voltage levels seem incorrect (2.88V instead of 28.8V):Whereas with Rigol’s Ultrascope program on Windows, I see the expected voltage level of 28V DC, and the program displays the 10V/div setting I used when capturing:
I tried loading the file into kaitai, but couldn’t see anything obviously misinterpreted—maybe it’ll be apparent to you? :)
Find
door-open.wfm
in door-open.zip and feel free to use it as a sample file.