The EMGLogViewer consists of several analyzing tools for EMG-Data recorded by the electrode using the MyoMod-EMGLogger. It is primarily build ontop of the pyqtgraph flowchart, so that there is a simple interface for parametrization of all components. Usally the funtion is first implemented in SciPy and later on converted to the CMSIS-python framework. Using the methodology, it is possible to do fast prototyping of filters, etc., and then move on to a more realistic implementation once the function is promising. The CMSIS-python wrapper then allows to implement the function in the same way as it would be on a microcontroller, but inside a python environment, whiich allows a direkt comparsison to the SciPy implementation. Finally, when the CMSIS and the SciPy version are working in the same way, porting to the actual microcontroller is usually a simple step.
- Install Python 3 (for example with miniconda)
- Install vscode
- Install Zadig (https://zadig.akeo.ie/)
- Plug in the board via USB, launch Zadig and install the WinUSB driver
- Create a new virtual environment (For example in vscode-extension "Python Environment Manager" and anaconda) (optional, but recommended)
- install the python-extensions scipy, matplotlib, tkfilebrowser, pyusb, pywin32 and libusb-package
- Run main.py for recording and analyzer.py for analyzing
- Install Python 3 (for example with miniconda)
- Install vscode
- Create a new virtual environment (For example in vscode-extension "Python Environment Manager" and anaconda) (optional, but recommended)
- install the python-extensions scipy, matplotlib, tkfilebrowser, pyusb
- Install libusb-1.0-0-dev
- Add udev-rule "SUBSYSTEMS=="usb", ATTRS{idVendor}=="0525", ATTRS{idProduct}=="a4a0", MODE="0666""
- Run main.py for recording and analyzer.py for analyzing