mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 01:27:59 +02:00
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:
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -600,6 +600,7 @@ void qTabPlot::SetFrequency(){
|
||||
// Setting the timer value (nth frames) between plots
|
||||
myPlot->SetFrameFactor(spinNthFrame->value());
|
||||
|
||||
|
||||
#ifdef VERBOSE
|
||||
cout << "Plotting Frequency: Nth Frame - " << spinNthFrame->value() << endl;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user