Dennis-van-Gils / DvG_Arduino_lock-in_amp

A fully fledged lock-in amplifier running at 25 kHz sampling rate @ 12-bit on an Adafruit M4 microprocessor board with an extensive Python graphical user interface showing real-time signals, interactive filter design and real-time power spectra.
MIT License
22 stars 6 forks source link

dvg_pyqt_filelogger.py / file missing? #45

Closed rsxy closed 2 years ago

rsxy commented 2 years ago

Hi, I came across your project which really looks awesome! Thanks for sharing!

After cloning the repo I tried to start the main program DvG_Arduino_lockin_amp.py and got the following error:

line 23: from dvg_pyqt_filelogger import FileLogger ModuleNotFoundError: No module named 'dvg_pyqt_filelogger'

Apparently this file is currently not part of the repo.

rsxy commented 2 years ago

..OK, I figured that I have to install some other packages of yours, i.e.:

pip3 install dvg_devices # dgv_pyqt_filelogger and others will be installed as dependency pip3 install dvg_pyqtgraph_monkeypatch pip3 install pyopengl

..finally, I got a UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-14: character maps to ..which could be resolved by launching the program with: python -X utf8 DvG_Arduino_lockin_amp.py

..now up and running! :-D

(Win10 with Anaconda and Python 3.9.7)

Dennis-van-Gils commented 2 years ago

Hi @rsxy. Sorry I missed your message. Glad you have it working, but you probably could have saved yourself above troubles by following the install guide mentioned in HOWTO_INSTALL.txt or examining the user manual