mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
using file index from zmq
This commit is contained in:
@ -826,12 +826,15 @@ int qDrawPlot::GetData(detectorData *data,int fIndex, int subIndex){
|
|||||||
cout << "errors " << data->errors << endl;
|
cout << "errors " << data->errors << endl;
|
||||||
cout << "angle " << data->angles << endl;
|
cout << "angle " << data->angles << endl;
|
||||||
cout << "databytes " << data->databytes << endl;
|
cout << "databytes " << data->databytes << endl;
|
||||||
|
cout << "dynamicRange " << data->dynamicRange << endl;
|
||||||
|
cout << "fileIndex " << data->fileIndex << endl;
|
||||||
#endif
|
#endif
|
||||||
if(!stop_signal){
|
if(!stop_signal){
|
||||||
|
|
||||||
//set progress
|
//set progress
|
||||||
progress=(int)data->progressIndex;
|
progress=(int)data->progressIndex;
|
||||||
currentFrameIndex = fileIOStatic::getIndicesFromFileName(string(data->fileName),currentFileIndex);
|
currentFrameIndex = fileIOStatic::getIndicesFromFileName(string(data->fileName),currentFileIndex);
|
||||||
|
currentFileIndex = data->fileIndex;
|
||||||
//happens if receiver sends a null and empty file name
|
//happens if receiver sends a null and empty file name
|
||||||
/*if(string(data->fileName).empty()){
|
/*if(string(data->fileName).empty()){
|
||||||
cout << "Received empty file name. Exiting function without updating data for plot." << endl;
|
cout << "Received empty file name. Exiting function without updating data for plot." << endl;
|
||||||
|
Reference in New Issue
Block a user