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

DS1202ZE #22

Open
JoetVer opened this issue Sep 19, 2021 · 4 comments
Open

DS1202ZE #22

JoetVer opened this issue Sep 19, 2021 · 4 comments

Comments

@JoetVer
Copy link

JoetVer commented Sep 19, 2021

Hi Scott, Just wondering when you may have time to include the DS1202ZE?

@scottprahl
Copy link
Owner

I don't have much time, but the files you sent seemed to parse ok.

RigolWFM/wfmconvert.py Z info wfm/DS1202Z-2.wfm

What is the problem?

@JoetVer
Copy link
Author

JoetVer commented Sep 22, 2021

Rigol1202Z.zip

Scott, I have added a few more files for two cases, one channel used and two channels used. For the single input case the code interpreted the data file to have three channels, Ch1 (1mV/div + offset -2.5mV), Ch3(-2nV/div+offset -2nV) and Ch4(-2nV/div+offset -2nV). Also, there is some sort of transient visible at the end of the python plot, that is not in the CSV or image file. I think I observed that on occasional files when processing files from the DS1204B as wel
File1 Ch3 plot from python
File1 Ch4 plot from python
File1 Ch1 plot from python
l.

@Kosi81
Copy link

Kosi81 commented Aug 8, 2022

mhm have an issue with a File from DS1202ZE

wfmconvert.py Z info wfm/DS1202Z-2.wfm is working but says it is a File Model = wfm1000z

But when trying to convert i get:

Traceback (most recent call last):
File "C:\wfm\example.py", line 7, in
w = rigol.Wfm.from_file(filename, scope)
File "C:\Users\marti\AppData\Roaming\Python\Python310\site-packages\RigolWFM\wfm.py", line 209, in from_file
ch = RigolWFM.channel.Channel(w, ch_number, pname, selected)
File "C:\Users\marti\AppData\Roaming\Python\Python310\site-packages\RigolWFM\channel.py", line 115, in init
self.seconds_per_point = w.header.seconds_per_point
File "C:\Users\marti\AppData\Roaming\Python\Python310\site-packages\RigolWFM\wfm1000e.py", line 384, in header
self._m_header = Wfm1000e.Header(self._io, self, self._root)
File "C:\Users\marti\AppData\Roaming\Python\Python310\site-packages\RigolWFM\wfm1000e.py", line 205, in init
self._read()
File "C:\Users\marti\AppData\Roaming\Python\Python310\site-packages\RigolWFM\wfm1000e.py", line 210, in _read
raise kaitaistruct.ValidationNotEqualError(b"\xA5\xA5\x00\x00", self.magic, self._io, u"/types/header/seq/0")
kaitaistruct.ValidationNotEqualError: /types/header/seq/0: at pos 4: validation failed: not equal, expected b'\xa5\xa5\x00\x00', but got b'\x01\xff\xff\xff'

FIle: NewGa.wfm

@strong-hub
Copy link

Rigol1202Z.zip

Scott, I have added a few more files for two cases, one channel used and two channels used. For the single input case the code interpreted the data file to have three channels, Ch1 (1mV/div + offset -2.5mV), Ch3(-2nV/div+offset -2nV) and Ch4(-2nV/div+offset -2nV). Also, there is some sort of transient visible at the end of the python plot, that is not in the CSV or image file. I think I observed that on occasional files when processing files from the DS1204B as wel File1 Ch3 plot from python File1 Ch4 plot from python File1 Ch1 plot from python l.

same issue

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

4 participants