minor changes needed for receiver nthr frame

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@568 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-05-21 14:50:50 +00:00
parent 0e73372cf8
commit d8a1e20d80
3 changed files with 8 additions and 3 deletions

View File

@ -432,9 +432,15 @@ void* postProcessing::processData(int delflag) {
#endif
//always read nth data
if (read_freq != 0)
if (read_freq != 0){
newData = true;
if (!dataReady){
std::cout << "Error: receiver read freq should be > 0 only when using gui." << std::endl;
std::cout << "Current receiver read frequency: " << read_freq << std::endl;
}
}
while(1){
cout.flush();