mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-19 20:28:51 +01:00
small changes for jungfrau, but also for the gui
This commit is contained in:
@@ -31,8 +31,8 @@ const char* DataStreamer::jsonHeaderFormat_part1 =
|
||||
|
||||
const char* DataStreamer::jsonHeaderFormat =
|
||||
"%s"
|
||||
"\"acqIndex\":%lld, "
|
||||
"\"fIndex\":%lld, "
|
||||
"\"acqIndex\":%llu, "
|
||||
"\"fIndex\":%llu, "
|
||||
"\"subfnum\":%u, "
|
||||
"\"fname\":\"%s\"}";
|
||||
|
||||
|
||||
@@ -331,7 +331,8 @@ uint32_t Listener::ListenToAnImage(char* buf) {
|
||||
generalData->GetHeaderInfo(index, listeningPacket, *dynamicRange, fnum, pnum, snum, bid);
|
||||
lastCaughtFrameIndex = fnum;
|
||||
#ifdef VERBOSE
|
||||
if (!index && !pnum) cprintf(GREEN,"Listening %d: fnum:%lld, pnum:%d\n", index, (long long int)fnum, pnum);
|
||||
if (!index && !pnum)
|
||||
cprintf(GREEN,"Listening %d: fnum:%lld, pnum:%d\n", index, (long long int)fnum, pnum);
|
||||
#endif
|
||||
if (!measurementStartedFlag)
|
||||
RecordFirstIndices(fnum);
|
||||
|
||||
@@ -757,7 +757,8 @@ int slsReceiverTCPIPInterface::setup_udp(){
|
||||
sscanf(args[1],"%d",&udpport);
|
||||
sscanf(args[2],"%d",&udpport2);
|
||||
receiverBase->setUDPPortNumber(udpport);
|
||||
receiverBase->setUDPPortNumber2(udpport2);
|
||||
if (myDetectorType == EIGER)
|
||||
receiverBase->setUDPPortNumber2(udpport2);
|
||||
//setup udpip
|
||||
//get ethernet interface or IP to listen to
|
||||
FILE_LOG(logINFO) << "Receiver UDP IP: " << args[0];
|
||||
|
||||
Reference in New Issue
Block a user