He also had created python-usbtmc for Python USB commnication with instruments, so check it out. Discussion about this article and related stuff is welcome in comment section or at our own IRC chat server: irc.x
A few things to notice about the code. The first few lines get the list of instruments connected to VISA and open the USB instrument (i.e. your oscilloscope). The timeout and chunk size need to be increased from the defaults to download the large amount of data without timeouts. Next,a...