From 302a70d59bb7cb33a163a9527aea9d3092c77bd8 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Tue, 17 Jan 2012 10:48:01 +0000 Subject: [PATCH] Using myMod-reg for settings for the gotthard git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@108 951219d9-93cf-4727-9268-0efd64621fa3 --- slsDetectorSoftware/slsDetector/slsDetector.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index 8a8568bb5..7f24cf728 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -2911,6 +2911,8 @@ detectorSettings slsDetector::setSettings( detectorSettings isettings, int imod) //create file names switch(thisDetector->myDetectorType){ case GOTTHARD: + //settings is saved in myMod.reg for gotthard + myMod->reg=thisDetector->currentSettings; ostfn << thisDetector->settingsDir << ssettings <<"/settings.sn";// << setfill('0') << setw(3) << hex << getId(MODULE_SERIAL_NUMBER, im) << setbase(10); oscfn << thisDetector->calDir << ssettings << "/calibration.sn";// << setfill('0') << setw(3) << hex << getId(MODULE_SERIAL_NUMBER, im) << setbase(10); #ifdef VERBOSE