gotthard and jungfrau servers do not need to send whole module for sending settings anymore

This commit is contained in:
2018-05-22 14:52:53 +02:00
parent 3f61206289
commit bdf9373e0d
17 changed files with 298 additions and 251 deletions

View File

@ -1105,7 +1105,7 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
/**
get detector settings
\param imod module number (-1 all)
\returns current settings
\returns current settings detectorSettings sendSettingsOnly(detectorSettings isettings);
*/
detectorSettings getSettings(int imod=-1);
@ -1118,6 +1118,19 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
in this function trimbits/settings and calibration files are searched in the settingsDir and calDir directories and the detector is initialized
*/
detectorSettings setSettings(detectorSettings isettings, int imod=-1);
/**
send detector settings only (set only for Jungfrau, Gotthard, Moench, get for all)
\param isettings settings
\param imod module number (-1 all)
\returns current settings
in this function only the settings is sent to the detector, where it will initialize all the dacs already stored in the detector server.
*/
detectorSettings sendSettingsOnly(detectorSettings isettings, int imod=-1);
//virtual detectorSettings setSettings(detectorSettings isettings, int imod=-1);
/**