mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 01:58:00 +02:00
receiver read freq should save value in shm even if no receiver present
This commit is contained in:
@ -275,6 +275,8 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
|
||||
int receiver_zmqport;
|
||||
/** data streaming (up stream) enable in receiver */
|
||||
bool receiver_datastream;
|
||||
/* Receiver read frequency */
|
||||
int receiver_read_freq;
|
||||
|
||||
} sharedSlsDetector;
|
||||
|
||||
@ -1766,12 +1768,10 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
|
||||
/** Sets the read receiver frequency
|
||||
if data required from receiver randomly 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 multi structure
|
||||
@param freq is the receiver read frequency
|
||||
/returns read receiver frequency
|
||||
*/
|
||||
int setReadReceiverFrequency(int getFromReceiver, int freq=-1);
|
||||
int setReadReceiverFrequency(int freq=-1);
|
||||
|
||||
/** Sets the read receiver timer
|
||||
if data required from receiver randomly readRxrFrequency=0,
|
||||
|
Reference in New Issue
Block a user