RoGeorge / DS1054Z_screen_capture

Capture the display of a Rigol DS1000Z series oscilloscope by LAN only, using LXI SCPI commands. No USB, no VISA, no IVI and no Rigol drivers are required.
https://hackaday.io/project/5807-driverless-rigol-ds1054z-screen-capture-over-lan
GNU General Public License v2.0
208 stars 55 forks source link

Converts sample rate and scale to floats when fetching memory depth. #7

Open 0ge opened 7 years ago

0ge commented 7 years ago

The sample rate and scale can be returned in scientific notation from the scope, thus Python could not add strings and program crashed. This converts them explicitly to floats.

0ge commented 7 years ago

It would be nice if this could either be merged or dismissed - I don't like loose ends. 😄