- Install the drivers for the RS-232 adapter (the Windows ones for Moxa Uport 1100 Series are contained in this folder);
- Power up and connect the PSD box;
- Launch
main.exe. The measurement parameters (measurement time, sampling interval, COM port) need to be set before pressing START. When pressing START, the export folder can be chosen (or not, by canceling the operation). Afterwards, the measurment starts.
- Install Python 3.9;
- Change directories to be in the main folder (containing all the
.pyfiles); - (Optionnal) create and activate a virtual environment by using
py -m venv .venv.\.venv\Scripts\activate
- Install the package requirements with
pip install -r requirements.txt; - Use pyinstaller to create an executable, by using e.g
pyinstaller .\main.py --onefile.
Optionnally, run main.py directly with Python (e.g for debugging purposes) with py main.py