Thursday, January 7, 2010

Rigol DS1052E Oscilloscope and Linux - Part 2

Well, after further investigation, I'm a dumbass.

The Python library I linked to in my previous post predates the usbtmc kernel module - it's libusb based!

So after "modprobe -r usbtmc" and running an example which sends *IDN? to the device, I get:


adodd@quadmonkey:~/Documents/ds1052e$ sudo ./usbtmc.py
[sudo] password for adodd:
Rigol Technologies,DS1052E,DS1ED113506705,00.02.02.02.00
adodd@quadmonkey:~/Documents/ds1052e$


IT WORKS! However, I'd like to try and find some documentation on the kernel module based approach, since it's likely more up to date.

No comments:

Post a Comment