mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
added and fixed gotthard 25um file and zmq photon finder
This commit is contained in:
@ -125,7 +125,7 @@ int main(int argc, char *argv[]) {
|
||||
while(1) {
|
||||
|
||||
|
||||
cout << "+++++++++++++++++++++++++++++++LOOP" << endl;
|
||||
// cout << "+++++++++++++++++++++++++++++++LOOP" << endl;
|
||||
// get header, (if dummy, fail is on parse error or end of acquisition)
|
||||
if (!zmqsocket->ReceiveHeader(0, acqIndex, frameIndex, subframeIndex, filename, fileindex)){
|
||||
// if (!zmqsocket->ReceiveHeader(0, acqIndex, frameIndex, subframeIndex, filename, fileindex)) {
|
||||
@ -155,8 +155,11 @@ int main(int argc, char *argv[]) {
|
||||
zmqsocket2->SendHeaderData(0, true, SLS_DETECTOR_JSON_HEADER_VERSION);
|
||||
cprintf(RED, "Sent Dummy\n");
|
||||
}
|
||||
fclose(of);
|
||||
of=NULL;
|
||||
mt->clearImage();
|
||||
if (of) {
|
||||
fclose(of);
|
||||
of=NULL;
|
||||
}
|
||||
|
||||
continue; //continue to not get out
|
||||
}
|
||||
|
Reference in New Issue
Block a user