PicoQuant / snAPI

snAPI is a Python wrapper which enables seamless communication and configuration with PicoQuant TCSPC devices.

Home Page:https://picoquant.github.io/snAPI/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sn.correlation.isFinished() never reports finished

JustinWoodring opened this issue · comments

Describe the bug
Calling sn.correlation.measure() which should finish after 1 second never
updates sn.correlation.isFinished() with a value other than False.

To Reproduce
Steps to reproduce the behavior:
Call sn.correlation.measure().
Then inside a while loop check sn.correlation.isFinished()

Expected behavior
sn.correlation.isFinished() should return True after approximately 1 second

Logfile
Add corresponding logfile from C:\data\PicoQuant\Logs .
240613.log

Screenshots
image

Additional context
System was working as expected but for some reason now only reports False.
I've tried restarting the MultiHarp device and my own computer.

This seems to be because the FCS is a bit slow. I improved the routine. Look for the next release.
The log file says that the data passed all buffers. But the correlation class is not finished yet. There will be a measurement finished log entry if it's done.

Are you using g2 or FCS-correlation? If FCS, pleas try the new FFCS method and report if its working!
Thx Torsten.

Upon further experimentation, the issue was due to the overall slow process of correlating g2 which explains my rather mixed results. Reducing various factors such as input intensity and ratio of bin width to acquisition time helped to resolve the issue. I appreciate your time and support!

Ahh, ok, I understand and thank you for your LinkedIn post!