labpy-python实验室(自动化)环境
labp的Python项目详细描述
labpy是一个实验室仪器连接器/驱动程序和基于qt5(pyside2)的gui/仪器小部件集的集合。 用于快速数据绘图、测井和仪器控制。它的模块化设计旨在取代LabVIEW(R),但保持它的小巧和精益。
来源:https://gitlab.com/LARAsuite/pylab
Labpy主要功能
- unified GUI environment for easily creating lab device interfaces (python3/QT5/pyside2 based)
- complete application with advanced menus, toolbars, statusbar, settings dialogues
- dock-able windows, flexible window movement, saving of window states
- settings will be preserved over closing the app
- command-line parsing
- signals for communication, threading for multi-threading applications
- many standard widgets (Temperature display, timer, alphanumeric displays, data plotting)
- pluggable widget system
- hardware device interface (serial communication)
- SiLA2 (https://sila-standard.org) support
- Arduino and Raspberry Pi support
- extremely small footprint, fast
- examples / demo library
Labpy软件包
- core - labpyworkbench
- widgets - collection of reusable widgets
- dev_com - device communication library
- math_models - mathematical models for data evaluation and simulation
快速安装
安装labpy的最快方法是通过pypi和pip:
# –user indicatates to do a local installation into home directory pip3 install –user labpy
Labpy完全安装
git clone https://gitlab.com/LARAsuite/labpy.git
cd labpy
# this installs everything in a virtual environment for testing:
python3 labpyinstall.py
(Note: please also install dependencies !!)
快速入门演示
有关功能演示,请参见示例/演示
更多示例请参见示例部分
文档
有关快速入门的信息,请参见docs/quick start.rst指南
以及完整文档的文档
生成文档
当前窗口小部件
- alpha numeric
- timer
- oszillograph
- wave generator
- pump control
- simple text edit
- python edit
- matplot
- pyqtgraph