Skip to content

Testing with DS2xxx/DS2xxxA #9

@KC22C2

Description

@KC22C2

For info only - I know this hardware isn't officially supported.
I just tested this code with a Rigol DS2202, firmware 00.03.04.SP2.
Code identifies it as:
Found instrument model 'DS2202' from 'RIGOL TECHNOLOGIES'

PNG capture works.
BMP capture works.
CSV capture seems to always fail after ~1minute, with the following trace:

Traceback (most recent call last):
  File "OscScreenGrabLAN.py", line 198, in <module>
    response = command(tn, ":" + channel + ":DISP?")
  File "DS1054Z_screen_capture-master/Rigol_functions.py", line 23, in command
    response = tn.read_until("\n", 1)  # wait max 1s for an answer
  File "DS1054Z_screen_capture-master/telnetlib_receive_all.py", line 297, in read_until
    return self._read_until_with_poll(match, timeout)
  File "DS1054Z_screen_capture-master/telnetlib_receive_all.py", line 332, in _read_until_with_poll
    self.fill_rawq()
  File "DS1054Z_screen_capture-master/telnetlib_receive_all.py", line 579, in fill_rawq
    buf = self.sock.recv(50)
socket.error: [Errno 104] Connection reset by peer

I'm personally very happy with just the screen capture functionality, and I hope the word will spread that this is available.

Thanks for your work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions