Install Python modules: pip install -r requirements.txt
hpctrl: put connect.ini
in the root folder and hpctrl.exe
, winvfx.16.dll
, gpiblib.dll
in tools/hpctrl
Application won't launch without .env
in the root folder.
Install PyInstaller: pip install pyinstaller
Compile:
pyinstaller --noconfirm --onefile --noconsole --windowed --hidden-import "pysimplegui" --hidden-import "python-dotenv" --icon "assets\icon\icon.ico" --name "OscilloscopeCtrl" "src\main.py"
Application must be launched from the root folder, so python src/main.py
or launch the binary in the root folder
Main window
Terminal
Creating config
Loading config