michal-szkutnik / pyRigolWfm1000Z

Python based parser for Rigol DS1000Z series WFM oscilloscope traces. Includes an example utility program.
11 stars 2 forks source link

Voltage values/reference #3

Open crasu opened 7 years ago

crasu commented 7 years ago

I tried to figure out how to calculate the voltage value for the 1000Z series.

It looks like the raw values (reference and scale) you get from the scope are related to the number of channels active and the V/DIV setting of the scope.

Currently there is no fixed convertion factor between the V/DIV setting and the raw value. I tried to read out the yReference and yIncrement from the scope via ethernet (see (1)). But it seems there is not always a relation between the values retrieved via ethernet and the ones written to the wfm files.

I got the following reponse from the european rigol support:

bei den wfm Dateien wird tatsächlich nicht der korrekte Offset dargestellt. Diese Abweichung habe ich an unsere R&D Abteilung geschickt. Sobald ich eine Rückmeldung erhalte, kann ich Ihnen sagen, wann das in eine neue Firmware eingearbeitet wird.

Which basically says it is a firmware bug and they want to fix it in one of their new firmwares. I was using 00.04.03.SP2.

I don't know if it is a good idea to document this in a git hub issue.

(1) http://www.batronix.com/pdf/Rigol/ProgrammingGuide/MSO1000Z_DS1000Z_ProgrammingGuide_EN.pdf

scottprahl commented 4 years ago

This was a great idea to document this issue. I suspect that the 1000z .wfm files I was trying to convert were hamstrung by a firmware issue. Hopefully the firmware is sorted out now and new .wfm files saved by the 1000Z scopes can be properly interpreted. Do you have any updated news?