mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-11 11:53:52 +01:00
m3: numpackets to 2 or 20 depending on ten giga enable (#123)
This commit is contained in:
1 parent
6f5635a402
commit
7492f7dbfa
4 files changed
+22
-12
No files matched your search
@@ -462,6 +462,7 @@ class Mythen3Data : public GeneralData {
|
||||
*/
|
||||
void SetDynamicRange(int dr, bool tgEnable) {
|
||||
imageSize = nPixelsX * nPixelsY * ((double)dr / 8.00);
|
||||
packetsPerFrame = tgEnable ? 2 : 20;
|
||||
dataSize = imageSize / packetsPerFrame;
|
||||
packetSize = headerSizeinPacket + dataSize;
|
||||
LOG(logINFO) << "PacketSize: " << packetSize;
|
||||
|
||||
Reference in new issue
Block a user