semaphores , no usleep in receiver

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@234 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2013-09-04 13:10:18 +00:00
parent e6c94a1d62
commit 790966e3dd
4 changed files with 20 additions and 8 deletions

View File

@ -1266,7 +1266,7 @@ void qDrawPlot::UpdatePlot(){
//h->setTitle(GetHistTitle(hist_num));
h->Attach(plot1D);
//refixing all the zooming
if(firstPlot){
if((firstPlot) || (anglePlot)){
plot1D->SetXMinMax(h->minXValue(),h->maxXValue());
plot1D->SetYMinMax(h->minYValue(),h->maxYValue());
plot1D->SetZoomBase(h->minXValue(),h->minYValue(),
@ -1274,6 +1274,7 @@ void qDrawPlot::UpdatePlot(){
firstPlot = false;
}
}
}
// update range if required
if(XYRangeChanged){