My python skills are very poor and have basically cut my teeth on this project, so keep that in mind when you discover the many mistakes or bad programming practices I have folllowed.
Rigol DP83X GUI. This is a simple graphing GUI based on Colin O'Flynn's and kudl4t4's github repository for the Rigol DP83X (DP831,DP832) connected via VISA (tested over USB by colinoflynn, tested over TCPIP although other IO connections should work).
To use this you'll need to install:
- Ultra Sigma from Rigol [OPTIONAL: Can also just copy/paste the address from the DP83X (DP831,DP832) display]
- Python 3.x with pyside6 PyQt5 pyqtgraph pyvisa-py install as follows
- pip install pyside6
- pip install PyQt5
- pip install pyqtgraph
- pip install pyvisa-py
- pip install matplotlib
Once your system is running, just run dpgui.py via your installed Python. Supply the address string (open Ultra Sigma, make sure it finds your Power Supply, and copy-paste address string from that, OR just look in the 'utilities' menu, OR point your browser to its IP address).
Will look something like USB0::0x1AB1::0x0E11::DP8XXXXXXXX::INSTR TCPIP0::192.168.1.60::INSTR
If the address copied from the DP83X (DP831,DP832) display doesn't work, install Ultra Sigma to confirm it is detected there. If Ultra Sigma didn't see the power supply something else is up...
- Can only set number of windows before connecting
- Doesn't validate instrument state before doing anything, so crashes are likely. Check python output for reasons.
Changes made to the original repo
- ported to python3
- Change settings on the fly
- Making changes to graph settings did not previoulsy work for me.
- poorly implemented SIN, SQR and SAW function to drive the output accordingly
- Added Pause Plot
- Added Pause Timer
- Added Temperture
- Added option to vary Update interval
- Added Logging
- Added ESTOP (Press any of the three buttons and it turns off all 3 channels)
- Added logo
- Auto set channel limits based on the model
- Zero plot at start for better auto ranging