To connect RIGOL DS4000 oscilloscope, take the waveform, and do FFT.
Go to file
2024-03-15 13:13:27 -04:00
FFTprobe.py added a GUI 2024-03-15 13:09:17 -04:00
Figure_1.png added a GUI 2024-03-15 13:09:17 -04:00
README.md update README.md 2024-03-15 13:13:27 -04:00
test.py added FFT using numpy 2024-03-14 17:26:33 -04:00

About

This is a python code to connect RIGOL DS40024 Oscilliscope via Ethernet and do a FFT. The control is done by SCPI command.

The list of command can be found in https://beyondmeasure.rigoltech.com/acton/attachment/1579/f-06f3/1/-/-/-/-/MSO%26DS4000_programming.pdf

Required Libraries

  • pyvisa-py
  • zeroconf

find the device address

import pyvisa as visa

# Initialize visa resource manager
rm = visa.ResourceManager('@py')

# print(rm.list_resources_info() )
print( rm.list_resources() )

test.py

This script is a test script to demostrate some controls.

FFTProbe.py

The python script FFTProbe.py is an gui for get the waveform and do FFT.

FFT example