mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
fixed crashing of moench03RawDataProcess when nframes>0 (#810)
This commit is contained in:
parent
45414149fe
commit
e7cd90db78
@ -3,7 +3,7 @@
|
||||
### edit with hostname or IP address of your detector
|
||||
############################################
|
||||
#hostname bchip181+
|
||||
hostname bchip296
|
||||
hostname bchip076
|
||||
|
||||
#############################################
|
||||
### edit with hostname or 1Gbs IP address of your server
|
||||
@ -25,12 +25,12 @@ udp_dstport 32777
|
||||
### edit with 10 Gbs IP of your server
|
||||
############################################
|
||||
rx_zmqip 10.1.2.102
|
||||
rx_zmqport 8003
|
||||
rx_zmqport 9003
|
||||
#############################################
|
||||
### edit with 1 Gbs IP of PC where you will run the GUI
|
||||
############################################
|
||||
zmqip 129.129.202.57
|
||||
zmqport 8001
|
||||
zmqport 9005
|
||||
|
||||
|
||||
|
||||
@ -50,8 +50,8 @@ fpath /mnt/moench_data/scratch1/
|
||||
|
||||
fwrite 0
|
||||
|
||||
rx_jsonpara frameMode pedestal
|
||||
rx_jsonpara detectorMode analog
|
||||
rx_jsonpara frameMode newPedestal
|
||||
rx_jsonpara detectorMode counting
|
||||
rx_discardpolicy discardpartial
|
||||
|
||||
|
||||
|
@ -356,6 +356,8 @@ int main(int argc, char *argv[]) {
|
||||
sprintf(ffname, "%s/%s_f%05d.tiff", outdir, fformat,
|
||||
ifile);
|
||||
sprintf(imgfname, (const char*)ffname, irun);
|
||||
while (mt->isBusy())
|
||||
;
|
||||
mt->writeImage(imgfname, thr1);
|
||||
mt->clearImage();
|
||||
ifile++;
|
||||
@ -381,6 +383,8 @@ int main(int argc, char *argv[]) {
|
||||
sprintf(imgfname, (const char*)ffname, irun);
|
||||
}
|
||||
cout << "Writing tiff to " << imgfname << " " << thr1 << endl;
|
||||
while (mt->isBusy())
|
||||
;
|
||||
mt->writeImage(imgfname, thr1);
|
||||
mt->clearImage();
|
||||
if (of) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user