Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test files needed for Rigol 1000C waveforms #2

Open
scottprahl opened this issue Mar 3, 2020 · 3 comments
Open

Test files needed for Rigol 1000C waveforms #2

scottprahl opened this issue Mar 3, 2020 · 3 comments

Comments

@scottprahl
Copy link
Owner

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

  • file.wfm
  • file.csv
  • file.txt (created when saving CSV files with "Para Save" ON)

Ideally the saved waveforms would cover a range of vertical and horizontal settings.

@scottprahl scottprahl changed the title Support Rigol 1000C waveforms Test files needed for Rigol 1000C waveforms Mar 3, 2020
@beta-tester
Copy link

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.

@scottprahl
Copy link
Owner Author

@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.

@beta-tester
Copy link

beta-tester commented Dec 12, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants