pklaus / ds1054z

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

A close method is needed. #15

Open occoder opened 5 years ago

occoder commented 5 years ago

I'd like to wrap a context manager around DS1054Z class. So that the TCP/IP connection resource could be released after usage. Now the close operation is only implemented in del in vxi11 which could only be triggered by Python auto garbage collection. This module lacks a close method on purpose.