Code Monkey home page Code Monkey logo

dp100-pyqt5-gui's Introduction

基于PyQt5的正点原子DP100数控电源上位机

A PyQt5-based PC GUI for Aliantek DP100 digital power supply

Check ketukil's fork if you need an English gui.

功能

  • 基本参数设定、预设组管理、设置修改
  • 高达100Hz(可调)的数据采集、绘图、分析、保存
  • PID恒功率控制
  • 参数扫描(电压/电流)
  • 函数发生器(正弦/方波/三角波/锯齿波/随机波)
  • 操作序列(顺序执行操作)
  • Material Design 风格

Features

  • Basic parameter setting, preset group management, setting modification
  • Data acquisition, plotting, analysis and saving up to 100Hz (adjustable)
  • PID constant power control
  • Parameter scanning (voltage/current)
  • Function generator (sine/square/triangle/sawtooth/random)
  • Operation sequence (execute operations in sequence)
  • Material Design style

依赖

使用了修改后的QFramelessWindow包,在lib文件夹中

release提供了打包好的exe文件,无需安装python环境

界面字体用了更纱黑体且没做fallback,记得去微软商店装一个

Dependencies

A modified QFramelessWindow package is used in the lib folder

The release provides a packaged exe file, no need to install the python environment

The interface font uses Sarasa UI and no fallback. Remember to install one in the Microsoft Store

关于二进制文件大小

Pyinstaller打包Qt程序时会自动添加不必要的Qt Plugins,导致二进制文件过大,认真修改spec文件排除不需要的dll和库可以减小到差不多30MB,但是我懒得改了,就这样

About the size of the binary file

When Pyinstaller packages Qt programs, it will automatically add unnecessary Qt Plugins, which will cause the binary file to be too large. Carefully modify the spec file to exclude unnecessary dll and libraries, which can be reduced to about 30MB, but I am too lazy to change it, so it is

Other

写着方便自己用的,没时间接受pr,有需要请自行fork

Written for my own use, no time to accept pr, please fork it yourself if you need it

Screenshots

1701177770319

dp100-pyqt5-gui's People

Contributors

elluifx avatar

Stargazers

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

Watchers

 avatar

dp100-pyqt5-gui's Issues

一个问题

我在打包完成exe后启动应用报了以下错误:
Traceback (most recent call last):
File "DP100_main.py", line 25, in
File "DP100_main.py", line 15, in main
File "DP100_gui.py", line 54, in
AttributeError: module 'qdarktheme' has no attribute 'enable_hi_dpi'

请问这个问题应如何得到解决

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.