receiver read frequency from gui can be set now

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@188 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2013-05-21 13:43:30 +00:00
parent b0d8739439
commit 014dfd7eed
3 changed files with 16 additions and 2 deletions

View File

@ -1593,3 +1593,16 @@ void qDrawPlot::CalculatePedestal(){
//-------------------------------------------------------------------------------------------------------------------------------------------------
void qDrawPlot::SetFrameFactor(int frame){
frameFactor = frame;
if(myDet->setReceiverOnline()==slsDetectorDefs::ONLINE_FLAG){
frame = myDet->setReadReceiverFrequency(1,frame);
#ifdef VERBOSE
cout << "Receiver read frequency set to : " << frame << endl;
#endif
}
}
//-------------------------------------------------------------------------------------------------------------------------------------------------