mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 15:27:13 +02:00
Merge branch '3.0.1' into developer
This commit is contained in:
@ -422,7 +422,7 @@ void UDPStandardImplementation::resetAcquisitionCount() {
|
||||
|
||||
|
||||
int UDPStandardImplementation::startReceiver(char *c) {
|
||||
cprintf(DARKGRAY,"\n");
|
||||
cprintf(RESET,"\n");
|
||||
FILE_LOG(logINFO) << "Starting Receiver";
|
||||
|
||||
ResetParametersforNewMeasurement();
|
||||
|
@ -141,7 +141,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
FILE_LOG(logINFO) << "Ready ... ";
|
||||
cprintf(DARKGRAY, "\n[ Press \'Ctrl+c\' to exit ]\n");
|
||||
cprintf(RESET, "\n[ Press \'Ctrl+c\' to exit ]\n");
|
||||
while(keeprunning)
|
||||
pause();
|
||||
|
||||
|
@ -348,7 +348,7 @@ int slsReceiverTCPIPInterface::function_table(){
|
||||
int slsReceiverTCPIPInterface::decode_function(){
|
||||
ret = FAIL;
|
||||
#ifdef VERYVERBOSE
|
||||
cprintf(DARKGRAY,"\n");
|
||||
cprintf(RESET,"\n");
|
||||
FILE_LOG(logDEBUG1) << "waiting to receive data";
|
||||
#endif
|
||||
int n = mySock->ReceiveDataOnly(&fnum,sizeof(fnum));
|
||||
|
@ -54,7 +54,7 @@ int read_config_file(string fname, int *tcpip_port_no, map<string, string> * con
|
||||
if(sstr.good()) {
|
||||
sstr >> sargname;
|
||||
if(sscanf(sargname.c_str(),"%d",tcpip_port_no))
|
||||
cprintf(DARKGRAY, "dataport: %d\n" , *tcpip_port_no);
|
||||
cprintf(RESET, "dataport: %d\n" , *tcpip_port_no);
|
||||
else{
|
||||
cprintf(RED, "could not decode port in config file. Exiting.\n");
|
||||
success = slsReceiverDefs::FAIL;
|
||||
|
Reference in New Issue
Block a user