using detid to calculte zmq port in case of shmget error and det id does not start with 0 and 1 as in receiver zmq server ports

This commit is contained in:
Dhanya Maliakal
2016-12-02 08:53:08 +01:00
parent 790cef37ff
commit dd9387ef29
3 changed files with 12 additions and 7 deletions

View File

@ -754,6 +754,8 @@ int slsDetector::initializeDetectorSize(detectorType type) {
thisDetector->tenGigaEnable=0;
thisDetector->acquiringFlag = false;
thisDetector->flippedData[0] = 0;
thisDetector->flippedData[1] = 0;
for (int ia=0; ia<MAX_ACTIONS; ia++) {
strcpy(thisDetector->actionScript[ia],"none");