diff --git a/Bio-Z App Windows.exe b/Bio-Z App Windows.exe
index d0a6843..9c9639e 100755
Binary files a/Bio-Z App Windows.exe and b/Bio-Z App Windows.exe differ
diff --git a/Bio-Z App macOS 1 b/Bio-Z App macOS 1
index bdfe85a..60fe291 100755
Binary files a/Bio-Z App macOS 1 and b/Bio-Z App macOS 1 differ
diff --git a/Bio-Z App macOS 2.app/Contents/Info.plist b/Bio-Z App macOS 2.app/Contents/Info.plist
index 33f5584..ac36a2e 100644
--- a/Bio-Z App macOS 2.app/Contents/Info.plist
+++ b/Bio-Z App macOS 2.app/Contents/Info.plist
@@ -21,7 +21,7 @@
CFBundleShortVersionString
0.1.1
CFBundleVersion
- 20260129.193750
+ 20260521.192455
CSResourcesFileMapped
LSApplicationCategoryType
diff --git a/Bio-Z App macOS 2.app/Contents/MacOS/main_gui b/Bio-Z App macOS 2.app/Contents/MacOS/main_gui
index bdfe85a..60fe291 100755
Binary files a/Bio-Z App macOS 2.app/Contents/MacOS/main_gui and b/Bio-Z App macOS 2.app/Contents/MacOS/main_gui differ
diff --git a/readme.md b/readme.md
index 143c21a..5327ccd 100644
--- a/readme.md
+++ b/readme.md
@@ -1,13 +1,16 @@
-# Bio-Impedance Amplifier | Executables
+# Bio-Impedance Amplifier | Bio-Z App | Executables
This repository contains compiled Rust-based software for communicating with a custom-built bio-impedance amplifier.
## Features
-- Single-frequency and frequency-sweep measurements
+- Single-frequency (user selectable) and frequency-sweep measurements
- Real-time visualization of magnitude and phase
- Support for both 2-lead and 4-lead measurements
+- Supports hardware with or without an electrode multiplexer
+- Dynamic software-controlled electrode selection when using a multiplexer
+- Up to 24 pins available with multiplexer support
- Data logging to `.csv` files
- Day and night display modes
-- Control via on-screen buttons or keyboard shortcuts
+- Control via on-screen buttons or keyboard shortcuts (see corresponding tab)
- Adding custom markers at specific timepoints
## Installation
@@ -48,6 +51,7 @@ You can choose one of the following options:
- `_single.csv` for single measurements
- `_sweep.csv` for sweep measurements
- Single and sweep data are **never combined** in one output file.
+- If a `.csv` file already exists, a new file is created with `_1`, `_2`, etc. appended to the filename.
### Marker Functionality
- A new feature **Add marker** is available during a measurement.
@@ -60,6 +64,14 @@ You can choose one of the following options:
- Time values are expressed in **milliseconds (ms)**.
- Time starts from the moment the hardware is powered on or connected via USB.
+### Selected lead mode and lead configuration (E0...E23)
+- When logging is enabled and the **Start** button was pressed, the selected lead mode and lead configuration (see structure below) are recorded whenever a measurement is started.
+- This information can be used to identify which measurement configuration was active when the **Start** button was pressed.
+- When hardware without a multiplexer is used: `No_multiplexer` is logged
+- When hardware with a multiplexer is used:
+ - `"2(E1,23)"` indicates a 2-lead with drive/sense+ at E1 and and drive/sense- at E23
+ - `"4(E1,E23,E10,E12)"` indicates a 4-lead measurement with I+ at E1, I- at E23, V+ at E10 and V- at E12
+
### CSV Column Structure
#### Single Measurement (`*_single.csv`)
Column number | Parameter | Description |
@@ -69,6 +81,7 @@ Column number | Parameter | Description |
3| Magnitude | Signal magnitude |
4| Phase | Signal phase |
5| Marker | User-defined marker text |
+6| Lead | Lead mode/config
#### Sweep Measurement (`*_sweep.csv`)
Column number | Parameter | Description |
@@ -79,5 +92,6 @@ Column number | Parameter | Description |
4| Phase | Signal phase |
5| Index / Measurement number | Sweep index |
6| Marker | User-defined marker text |
+6| Lead | Lead mode/config