mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
format support lib
This commit is contained in:
@ -272,7 +272,7 @@ void DataProcessor::ProcessAnImage(char *buf) {
|
||||
buf + FIFO_HEADER_NUMBYTES,
|
||||
sizeof(sls_receiver_header) +
|
||||
(uint32_t)(*((uint32_t *)buf)), //+ size of data (resizable
|
||||
//from previous call back
|
||||
// from previous call back
|
||||
fnum - firstIndex, nump);
|
||||
} catch (const sls::RuntimeError &e) {
|
||||
; // ignore write exception for now (TODO: send error message via
|
||||
|
@ -344,8 +344,9 @@ uint32_t Listener::ListenToAnImage(char *buf) {
|
||||
// copy packet
|
||||
switch (myDetectorType) {
|
||||
// for gotthard, 1st packet: 4 bytes fnum, CACA
|
||||
// + CACA, 639*2 bytes data 2nd packet: 4 bytes fnum, previous 1*2 bytes
|
||||
//data + 640*2 bytes data !!
|
||||
// + CACA, 639*2 bytes data 2nd packet: 4 bytes
|
||||
// fnum, previous 1*2 bytes
|
||||
// data + 640*2 bytes data !!
|
||||
case GOTTHARD:
|
||||
if (!pnum)
|
||||
memcpy(buf + fifohsize, &carryOverPacket[hsize + 4], dsize - 2);
|
||||
@ -514,8 +515,9 @@ uint32_t Listener::ListenToAnImage(char *buf) {
|
||||
// copy packet
|
||||
switch (myDetectorType) {
|
||||
// for gotthard, 1st packet: 4 bytes fnum, CACA
|
||||
// + CACA, 639*2 bytes data 2nd packet: 4 bytes fnum, previous 1*2 bytes
|
||||
//data + 640*2 bytes data !!
|
||||
// + CACA, 639*2 bytes data 2nd packet: 4 bytes
|
||||
// fnum, previous 1*2 bytes
|
||||
// data + 640*2 bytes data !!
|
||||
case GOTTHARD:
|
||||
if (!pnum)
|
||||
memcpy(buf + fifohsize + (pnum * dsize),
|
||||
|
Reference in New Issue
Block a user