Post Go back to editing

SensorPal 2.5.3.2 hangs at "Preparing measurement" on every second measurement (EVAL-AD5940ELCZ)

Category: Software
Product Number: AD5940
Software Version: 2.5.3.2

Hello,

I am using the EVAL-AD5940ELCZ with the EVAL-ADICUP3029 and SensorPal for
cyclic voltammetry. The first measurement after starting SensorPal always
completes correctly, but the second measurement never starts. SensorPal
stays at "Preparing measurement" indefinitely and no error message is shown.

[Setup]
- Hardware: EVAL-AD5940ELCZ + EVAL-ADICUP3029 (USB connected, COM3)
- Software: SensorPal 2.5.3.2
- OS: Windows 11 Pro
- Jumpers: JP10 and JP11 on pins 3-4, JP6 in position B (on-board dummy sensor)

[Measurement settings]
- Technique: Cyclic Voltammetry
- Initial Potential -1000 mV, Final Potential 1000 mV
- Step Potential 2.148 mV, Scan Rate 66.667 mV/s, Cycle Count 1
- Current Range ±3 mA or ±900 µA (same result with both)
- Calibration Resistor 10000 Ω, RLoad 100 Ω, PGA Gain GNPGA_1

[Steps to reproduce]
1. Start SensorPal, select COM3, add Cyclic Voltammetry.
2. Click Measure. The measurement completes normally (Results 1862/1862),
and the dummy sensor gives a clean linear I-V curve.
3. Click Measure again (with or without changing any parameter).
4. SensorPal shows "Preparing measurement" and never proceeds.

[What I tried]
- Pressing 3029_RESET on the ADICUP3029: does not recover.
- Unplugging and replugging USB only: does not recover.
- Closing SensorPal completely, replugging USB, and restarting SensorPal:
the next (first) measurement works.
- Running Firmware Load: the next (first) measurement works.

The problem does not depend on the Current Range value. Currently I have to
restart SensorPal after every single measurement.

[Questions]
1. Is this a known issue with SensorPal 2.5.3.2? Is there a newer version or
firmware that fixes it?
2. Is there any setting or procedure to run consecutive measurements without
restarting SensorPal?
3. If SensorPal cannot be used for repeated measurements, is the serial
command protocol between SensorPal and the ADICUP3029 firmware documented,
so that measurements can be controlled from Python? Or is there a
recommended firmware for PC-controlled measurements?

Screenshots are attached.

Thank you for your help.

  • Update: I found the causes and the issue is now resolved on my side.

    1. SensorPal writes Log\LogInformation.txt, Config.json and
    Checkpoints.json into its installation folder. When installed under
    C:\Program Files (x86), a standard user cannot write there, so these
    files were never created. After running SensorPal once as
    administrator, the files were created with administrator-only
    permissions, and a normal launch then crashed at startup with
    System.UnauthorizedAccessException in Utilities.LogEvent.EventLog
    (called from SensorExpertGUI.ViewModel.MainViewModel..ctor).
    A 0-byte Checkpoints.json also caused the log message
    'Parsing "" from checkpoints.json encountered an error'.

    2. The EVAL-AD5940ELCZ was not fully seated on the EVAL-ADICUP3029.
    In that state LED DS3 was off, and measurements hung at
    "Preparing measurement".

    After reseating the board (DS3 on) and reinstalling SensorPal to
    C:\SensorPal, consecutive measurements work without restarting.

    Suggestion: it would help if SensorPal stored its log, config and
    checkpoint files in a user-writable location such as %LOCALAPPDATA%,
    and showed an error message instead of hanging.

    Correction: SensorPal was installed from "sensorpal_installer_v2532.zip".

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.