loopscan, dscan ... block with camera in INTERNAL_TRIGGER mode and when roi counters are active
Tested with a prosilica camera which does not support IntTrigMult but only IntTrig for soft trigger. If a roi counters is defined the loopscan or motor scan (dscan,ascan ..) does acquire only for first point then nothing more. At the end of the scan it waits for ever. Example:
LAURENT [57]: dscan(simmot1,-5,5,100,.1,bcu_prosilica,save=False) Total 100 points, 0:00:35.100000 (motion: 0:00:25.100000, count: 0:00:10) Activated counters not shown: image
Scan 5 Thu Oct 25 15:53:31 2018 laurent user = claustre dscan simmot1 6.458 16.458 100 0.1
# dt[s] simmot1 prosilica_roi1.avg prosilica_roi1.max prosilica_roi1.min prosilica_roi1.std prosilica_roi1.sum
0 0 6.458 4095 4095 4095 0 6.1425e+07
simmot1: 16.458
The same scan but without roi_counters: LAURENT [59]: dscan(simmot1,-5,5,10,.1,bcu_prosilica.image,save=False) Total 10 points, 0:00:17.100000 (motion: 0:00:16.100000, count: 0:00:01) Activated counters not shown: image
Scan 7 Thu Oct 25 15:56:15 2018 laurent user = claustre dscan simmot1 6.458 16.458 10 0.1
# dt[s] simmot1
0 0 6.458
1 1.38783 7.569
2 2.78366 8.68
3 4.1757 9.791
4 5.55977 10.902
5 6.96059 12.014
6 8.36378 13.125
7 9.77978 14.236
8 11.1639 15.347
9 12.5957 16.458
Took 0:00:18.034959 (estimation was for 0:00:17.100000) Out [59]: Scan(name=dscan_7, run_number=7)
LAURENT [60]: