Giter Site home page Giter Site logo

dp832-gui's People

Contributors

colinoflynn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dp832-gui's Issues

Address documentation

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.

Points Spinbox and Channel ComboBox only affect the last graph

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.