RIGOLwaveform/README.md
2024-03-15 13:13:27 -04:00

778 B

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