mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 08:10:02 +02:00
datastream 10g Receiver (#401)
* datastream not updated when tengiga enabled in receiver
This commit is contained in:
parent
939fc70284
commit
0b7c202f98
@ -1476,10 +1476,10 @@ void Implementation::setTenGigaEnable(const bool b) {
|
||||
detectorDataStream[LEFT] = detectorDataStream10GbE[LEFT];
|
||||
detectorDataStream[RIGHT] = detectorDataStream10GbE[RIGHT];
|
||||
}
|
||||
LOG(logINFO) << "Detector datastream updated [Left: "
|
||||
<< sls::ToString(detectorDataStream[LEFT])
|
||||
<< ", Right: "
|
||||
<< sls::ToString(detectorDataStream[RIGHT]) << "]";
|
||||
LOG(logDEBUG) << "Detector datastream updated [Left: "
|
||||
<< sls::ToString(detectorDataStream[LEFT])
|
||||
<< ", Right: "
|
||||
<< sls::ToString(detectorDataStream[RIGHT]) << "]";
|
||||
}
|
||||
}
|
||||
LOG(logINFO) << "Ten Giga: " << (tengigaEnable ? "enabled" : "disabled");
|
||||
@ -1550,6 +1550,13 @@ void Implementation::setDetectorDataStream(const portPosition port,
|
||||
detectorDataStream10GbE[index] = enable;
|
||||
LOG(logINFO) << "Detector 10GbE datastream (" << sls::ToString(port)
|
||||
<< " Port): " << sls::ToString(detectorDataStream10GbE[index]);
|
||||
// update datastream for 10g
|
||||
if (tengigaEnable) {
|
||||
detectorDataStream[index] = detectorDataStream10GbE[index];
|
||||
LOG(logDEBUG) << "Detector datastream updated ["
|
||||
<< (index == 0 ? "Left" : "Right")
|
||||
<< "] : " << sls::ToString(detectorDataStream[index]);
|
||||
}
|
||||
}
|
||||
|
||||
int Implementation::getReadNRows() const { return readNRows; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user