From e0368c69ee63be50541960ce6f82af02d11d6bff Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Tue, 21 Feb 2012 16:01:13 +0000 Subject: [PATCH] added a testfunction to test start and stop acquisition of gotthard git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@130 951219d9-93cf-4727-9268-0efd64621fa3 --- .../slsDetector/slsDetector.cpp | 43 +++++++++++++++++++ slsDetectorSoftware/slsDetector/slsDetector.h | 4 ++ .../slsDetector/slsDetectorCommand.cpp | 24 ++++++++++- .../slsDetector/slsDetectorCommand.h | 2 +- 4 files changed, 71 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index de653bf31..f36c17f4e 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -5296,4 +5296,47 @@ int slsDetector::saveSettingsFile(string fname, int imod) { } +int slsDetector::testFunction(int times) { + int val = 0,i,oldval=0; + runStatus s; + + + for(i=0;i