Index: trunk/FACT++/scripts/Main.js
===================================================================
--- trunk/FACT++/scripts/Main.js	(revision 14774)
+++ trunk/FACT++/scripts/Main.js	(revision 14775)
@@ -647,4 +647,9 @@
         dim.wait("RATE_SCAN", "Connected", 2700000);
 
+        // this line is actually some kind of hack. 
+        // after the Ratescan, no data is written to disk. I don't know why, but it happens all the time
+        // So I decided to put this line here as a kind of patchwork....
+        dim.send("FAD_CONTROL/SET_FILE_FORMAT", 2);
+        
         console.out("Ratescan done.");
         run = -1;
