As I had some free time, and we had recently got Programmable Power Supply RIGOL DP832, I have made python based GUI, to communicate with RIGOL.
It is based on:
PyVisa version: 1.8
PyQt version: 5.8.1
Qt version: 5.8.0
Matplotlib version: 2.0.0
and uses Ethernet to communicate with RIGOL.
pip install -U pyvisa
pip install -U pqt5
Link to GitHub: https://github.com/kudl4t4/RIGOL-DP832-GUI
Apr 08
1 comment
Excellent control software! I’m using a DP811A, which seems to crash the script when trying to plot a graph. The normal controls work fine. Probably has something to do with the number of channels (only 1 on the DP811A). The script reports:
VI_ERROR_RSRC_NFOUND (-1073807343): Insufficient location information or the requested device or resource is not present in the system.
C:\Users\mauri\AppData\Local\Programs\Python\Python35-32\lib\site-packages\matplotlib\axes\_base.py:3193: UserWarning: Attempting to set identical bottom==top results
in singular transformations; automatically expanding.
bottom=0, top=0.0
‘bottom=%s, top=%s’) % (bottom, top))
Traceback (most recent call last):
File “RIGOL_DP811_GUI.py”, line 291, in
self.timer_data.timeout.connect(lambda: self.dataForPlot())
File “RIGOL_DP811_GUI.py”, line 603, in dataForPlot
if float(data[1]) == 429496.719 and float(data[2]) == 429496.719:
IndexError: list index out of range