Things and Stuff

some things, but also some stuff

View on GitHub
4 December 2020

First Post

by caternuson

Stuff and Things

This is the first post. Here’s a capture from my oscilloscope.

Which was acquired with the following Python script.

import pyvisa

RIGOL = 'USB0::6833::1230::DS1ZA191806168::0::INSTR'
FILE = "rigol_capture.png"

rm = pyvisa.ResourceManager()
rigol = rm.open_resource(RIGOL, write_termination='\n', read_termination='\n')
raw_buf = rigol.query_binary_values(':DISP:DATA? ON,0,PNG', datatype='B')

with open(FILE, "wb") as fp:

print("Screen saved to", FILE)

tags: python - visa - oscilloscope