mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
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:
@ -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();
|
||||
|
Reference in New Issue
Block a user