mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
receiver read frequency from gui can be set now
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@567 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -191,6 +191,9 @@ class multiSlsDetector : public slsDetectorUtils {
|
||||
mysteps scanSteps[MAX_SCAN_LEVELS];
|
||||
int scanPrecision[MAX_SCAN_LEVELS];
|
||||
|
||||
/* Receiver read frequency */
|
||||
int receiver_read_freq;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@ -1190,9 +1193,12 @@ class multiSlsDetector : public slsDetectorUtils {
|
||||
/** Sets the read receiver frequency
|
||||
if Receiver read upon gui request, readRxrFrequency=0,
|
||||
else every nth frame to be sent to gui
|
||||
@param getFromReceiver is 1 if it should ask the receiver,
|
||||
0 if it can get it from multislsdetecter
|
||||
@param i is the receiver read frequency
|
||||
/returns read receiver frequency
|
||||
*/
|
||||
int setReadReceiverFrequency(int i=-1);
|
||||
int setReadReceiverFrequency(int getFromReceiver, int i=-1);
|
||||
|
||||
/** updates the multidetector offsets */
|
||||
void updateOffsets();
|
||||
@ -1202,6 +1208,7 @@ class multiSlsDetector : public slsDetectorUtils {
|
||||
*/
|
||||
void waitForReceiverReadToFinish();
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@ -1216,6 +1223,7 @@ class multiSlsDetector : public slsDetectorUtils {
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user