Tuesday, February 4, 2014

Spectrum analyzer with a Rigol scope

Here's some code to turn a Rigol oscilloscope into a spectrum analyzer.




You can grab the header file here: rigolScope.py

Monday, January 20, 2014

SR850 lock-in amplifier, with PyVISA

It's a breeze, as always, to connect instruments to Python. This is a PyVISA sub-class that you can use with an SR850 lock-in amplifier.



 Here is how to use these utility functions to measure a noise spectrum with the SR850. (Watch out for the dynamic reserve when making noise measurements!)