Index: /trunk/FACT++/src/ratescan.cc
===================================================================
--- /trunk/FACT++/src/ratescan.cc	(revision 12267)
+++ /trunk/FACT++/src/ratescan.cc	(revision 12268)
@@ -260,14 +260,16 @@
         fThresholdStep = evt.Get<uint32_t>(8);
 
+        const Time now;
+
 
         ofstream fout("ratescan.txt", ios::app);
-        fout << "# ----- " << Time() << " -----\n";
+        fout << "# ----- " << now << " -----\n";
         fout << "# Command: " << fCommand << '\n';
         fout << "# Reference: ";
         switch (fReference)
         {
-        case kCamera: fout << "Camera";
-        case kBoard:  fout << "Board #" << fReferenceIdx;
-        case kPatch:  fout << "Patch #" << fReferenceIdx;
+        case kCamera: fout << "Camera"; break;
+        case kBoard:  fout << "Board #" << fReferenceIdx; break;
+        case kPatch:  fout << "Patch #" << fReferenceIdx; break;
         }
         fout << '\n';
@@ -287,5 +289,5 @@
 
         ostringstream msg;
-        msg << "Rate scan from DAC=" << fThresholdMin << " to DAC=";
+        msg << "Rate scan " << now << " from " << fThresholdMin << " to ";
         msg << fThresholdMax << " in steps of " << fThresholdStep;
         msg << " started.";
