pip install pyserial
python set_buffer_ready_and_offset_zero.py [-d PORT] [-b BAUDRATE]
Example:
python set_buffer_ready_and_offset_zero.py -d COM4 -b 115200
python start_measurement_by_serial_trigger.py
python readout_buffer_over_serial.py output_data.txt
| Script | Purpose | Key Parameters |
|---|---|---|
set_buffer_ready... |
Configures buffer | -d Serial port -b Baud rate |
start_measurement... |
Starts acquisition | None |
readout_buffer... |
Saves measurements | output_file (required) |
# Check available ports:
python -m serial.tools.list_ports
2023-07-15 14:30:45 INFO Buffer status: 3
2023-07-15 14:30:46 INFO Saved 1500 measurements