/controlOscilloscope

Control tektronix osciloscope with pyvisa in linux.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

controlOscilloscope

Control tektronix osciloscope with pyvisa in linux. Tested with tektronix 2014B and python 3.7.5

usage guidelines

Replace line #7 with your device details as below :

rm.open_resource('USB0::{Vendor ID}::{Model ID}::{Serial Number}::INSTR')

To get device details run findID.py

If you get a timeout error, follow the given steps. After connecting the tektronix oscilloscope :

sudo chmod a+w /dev/usbtmc0

sudo echo "*IDN?" > /dev/usbtmc0

tekmeasure

measures the values and outputs the plot of Freq vs Vrms

teklive

this will output the live plot