Showing posts with label DS1052E. Show all posts
Showing posts with label DS1052E. Show all posts

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.

Rigol DS1052E Oscilloscope and Linux - Part 1

I just received a new piece of test equipment today, a Rigol DS1052E oscilloscope from Saelig.  After powering it on and connecting one probe, I decided to see if I could interface with it in Linux.  I've done some interfacing with test equipment in Linux before using USB-to-GPIB interfaces, but this instrument has serial and raw USB.

Trusty Google has yet to provide me any information about this combination, so I decided to start by plugging the scope into my Ubuntu machine.  dmesg output and more after the break.