634c3b12baf893fad366fc62cda2f6c1afa72863
Fix concurrency problem. Before this commit, if acquisition was aborted by user before the imagetask had passed through the conditional `if ((epicsTimeDiffInSeconds(¤tAcqTime, &prevAcqTime) > maxAcqusitionTime)`, condition would evaluate to true and raise a warning saying that the acquisition timed out, which is not true. After this, condition evaluates to false and no alarm is raised. Tested several acquisitions and this does not seem to compromise the control flow. It seems to work both with internal and with external triggers.
ADHama
European Spallation Source ERIC Site-specific EPICS module : ADHama
Additonal information:
To build conda env:
conda create -n hama epics-base require tclx make compilers adcore busy
To activate env:
conda activate orca
git clone ...
cd git/ADOrca
compilation:
make -f ADOrca.Makefile LIBVERSION=0.1 clean uninstall build db install
execution:
iocsh.bash cmds/st.cmd
Languages
C++
52.1%
C
45.7%
Batchfile
1.2%
Makefile
1%