mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 16:48:01 +02:00
readnlines->partialread, better debugging for TCP socket interface bug
This commit is contained in:
@ -37,7 +37,7 @@ struct MasterAttributes {
|
||||
ns subExptime{0};
|
||||
ns subPeriod{0};
|
||||
uint32_t quad{0};
|
||||
uint32_t numLinesReadout;
|
||||
uint32_t partialReadout;
|
||||
std::vector<int64_t> ratecorr;
|
||||
uint32_t adcmask{0};
|
||||
uint32_t analog{0};
|
||||
@ -373,7 +373,7 @@ class EigerMasterAttributes : public MasterAttributes {
|
||||
<< "SubPeriod : " << sls::ToString(subPeriod)
|
||||
<< '\n'
|
||||
<< "Quad : " << quad << '\n'
|
||||
<< "Number of Lines read out : " << numLinesReadout << '\n'
|
||||
<< "Partial Readout (rows) : " << partialReadout << '\n'
|
||||
<< "Rate Corrections : " << sls::ToString(ratecorr)
|
||||
<< '\n';
|
||||
std::string message = oss.str();
|
||||
@ -427,12 +427,12 @@ class EigerMasterAttributes : public MasterAttributes {
|
||||
group->createDataSet("Quad", PredType::NATIVE_INT, dataspace);
|
||||
dataset.write(&quad, PredType::NATIVE_INT);
|
||||
}
|
||||
// numLinesReadout
|
||||
// partialReadout
|
||||
{
|
||||
DataSpace dataspace = DataSpace(H5S_SCALAR);
|
||||
DataSet dataset = group->createDataSet(
|
||||
"Number of Lines read out", PredType::NATIVE_INT, dataspace);
|
||||
dataset.write(&numLinesReadout, PredType::NATIVE_INT);
|
||||
"Partial readout (rows)", PredType::NATIVE_INT, dataspace);
|
||||
dataset.write(&partialReadout, PredType::NATIVE_INT);
|
||||
}
|
||||
// Rate corrections
|
||||
{
|
||||
|
Reference in New Issue
Block a user