pklaus / ds1054z

Python package for the Rigol DS1054Z Oscilloscope
https://ds1054z.readthedocs.org/
176 stars 40 forks source link

MSO1074Z is not detected properly. #9

Open aairabella opened 6 years ago

aairabella commented 6 years ago

When trying to use the class with a Rigol MSO1074Z, i got this error:

    raise NameError(msg)
NameError: Unknown device identification:
RIGOL TECHNOLOGIES,MSO1074Z,DS1ZC182100884,00.04.04.SP3
If you believe this device should be supported by this package, feel free to contact the maintainer with this information.

I commented the following lines in __init__.py

        """
        if not match:
            msg = "Unknown device identification:\n%s\n" \
                  "If you believe this device should be supported " \
                  "by this package, feel free to contact " \
                  "the maintainer with this information." % idn
            raise NameError(msg)
        """

I'm workig in a new branch in order to add to the class the capability of properly detect the MSO1074Z model.