Open scottprahl opened 4 years ago
does your project support DS1042C ? i took a look to the magic numbers but none of them seems to match to that in my wfm file. DS1042C.zip
in the maximum csv file seems a bit buggy - loss of resolution in time axis.
@beta-tester thanks for the source files. The magic numbers are messed up. I have no idea what Rigol was thinking when they created them. They seem to be used inconsistently. Anyhow, I just released v0.9.4 which should work for you.
thank you for adding the DS1042C and the update.
i can see a little drift in the x-axis (time) then looking to the converted DS1042C wfm to csv file. signal0_wfmconverter.csv.zip
starting at line 5246 (at -4.845049ms) the interval is not 0.000050ms.
$ wfmconvert C csv signal0.wfm
$ cat signal0.csv
X,CH 1,Start,Increment
ms,mV,-6.000000e-03,1.000000e-05
-5.107200,60.00
-5.107150,60.00
-5.107100,60.00
...
-4.845250,60.00
-4.845200,20.00
-4.845150,60.00
-4.845100,20.00
-4.845049,20.00
-4.844999,60.00
-4.844949,60.00
-4.844899,40.00
-4.844849,20.00
...
7.213373,560.00
7.213423,300.00
7.213473,100.00
7.213523,100.00
7.213574,60.00
7.213624,20.00
7.213674,40.00
7.213724,40.00
7.213774,60.00
7.213824,-20.00
...
this drift propergates over the file. is that a rounding error or is that the nature of the rampling rate vs. time base of the scope?
and are Start
and Increment
right?
The code is in the repository, but it is untested. A few sets of saved waveforms created by a Rigol DS1000C, DS1000M, DS1000CD, DS1000MD, DS1062CA, DS1102CA, DS1202CA, or DS1302CA scope would fix this. Each set should contain
Ideally the saved waveforms would cover a range of vertical and horizontal settings.