mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 13:57:13 +02:00
Minimal shared memory for receiver
This commit is contained in:
@ -59,11 +59,11 @@ void Implementation::InitializeMembers() {
|
||||
silentMode = false;
|
||||
fifoDepth = 0;
|
||||
frameDiscardMode = NO_DISCARD;
|
||||
framePadding = false;
|
||||
framePadding = true;
|
||||
|
||||
// file parameters
|
||||
fileFormatType = BINARY;
|
||||
filePath = "";
|
||||
filePath = "/";
|
||||
fileName = "run";
|
||||
fileIndex = 0;
|
||||
fileWriteEnable = true;
|
||||
@ -340,6 +340,11 @@ void Implementation::setDetectorPositionId(const int id) {
|
||||
LOG(logDEBUG3) << __SHORT_AT__ << " called";
|
||||
detID = id;
|
||||
LOG(logINFO) << "Detector Position Id:" << detID;
|
||||
|
||||
// update zmq port
|
||||
streamingPort = DEFAULT_ZMQ_RX_PORTNO +
|
||||
(detID * (myDetectorType == EIGER ? 2 : 1));
|
||||
|
||||
for (unsigned int i = 0; i < dataProcessor.size(); ++i) {
|
||||
dataProcessor[i]->SetupFileWriter(
|
||||
fileWriteEnable, (int *)numDet, &framesPerFile, &fileName, &filePath,
|
||||
|
Reference in New Issue
Block a user