colinoflynn / dp832-gui Goto Github PK
View Code? Open in Web Editor NEWRigol DP832 GUI Example
License: MIT License
Rigol DP832 GUI Example
License: MIT License
Hi, I wanted to point out that the address string is on the "utilities" page of the power supply itself, so you don't have to get it from Ultra Sigma if you don't want to. This is especially handy for people who aren't running Windows, or people who don't want to download 200MB just to copy an address.
Great project, thanks for sharing.
I am novice but made several changes to support running on Pyton3 so may have broken it and the issue below maybe my doing.
I was working on changes to display all channels at once and finally discovered that you already have this feature. I just needed to change the initial gui spinbox to 3.
However, after selecting 3 in the spinbox in the connect gui, any changes to any Points spinbox or Channel dropbox only effect the last graph.
If I print the graphnum value that is passed to def setPoints(self, graphnum, points): it always produces as "2" regardless of which spinbox I am spinning.
I thought it may have been the missing self on these lines
sbPoints = QtWidgets.QSpinBox()
sbPoints.setMinimum(1)
sbPoints.setMaximum(500000)
sbPoints.setValue(self.graphsettings[-1]["points"])
sbPoints.valueChanged.connect(lambda x: self.setPoints(i, x))
as these lines have a self
self.cbChannel = QtWidgets.QComboBox()
self.cbChannel.addItem("CH1")
self.cbChannel.addItem("CH2")
self.cbChannel.addItem("CH3")
self.cbChannel.setCurrentIndex(i)
self.cbChannel.currentIndexChanged.connect(lambda x :self.setChannel(i, "CH%d"%(x+1)))
I will continue to track down the issue and update if I find the cause.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.