Index: trunk/FACT++/scripts/crateReset.js
===================================================================
--- trunk/FACT++/scripts/crateReset.js	(revision 19931)
+++ trunk/FACT++/scripts/crateReset.js	(revision 20082)
@@ -37,9 +37,9 @@
         [
          [ "MCP" ],
-         [ "FTM_CONTROL" ],
+         [ "FPGAFTM_CONTROL" ],
          [ "FAD_CONTROL" ],
         ];
     if (!checkStates(table, 3000))
-        throw new Error("Either MCP, FTM_CONTROL or FAD_CONTROL not online.");
+        throw new Error("Either MCP, FPGAFTM_CONTROL or FAD_CONTROL not online.");
 
     // No data taking should be in progress
@@ -64,8 +64,9 @@
          [ "MCP", [ "Idle", "Connected" ]],
          [ "FTM_CONTROL", [ "Valid" ] ],
+         [ "FPGAFTM_CONTROL", [ "Valid" ] ],
          [ "FAD_CONTROL", [ "Disengaged", "Disconnected", "Connecting", "Connected" ] ],
         ];
     if (!checkStates(table, 3000, true))
-        throw new Error("Either MCP, FTM_CONTROL or FAD_CONTROL not in a state in which it ought to be.");
+        throw new Error("Either MCP, FTM_CONTROL, FPGAFTM_CONTROL or FAD_CONTROL not in a state in which it ought to be.");
 
     // FTUs must be switched off
@@ -102,5 +103,6 @@
 
     dim.log("Sending reset.");
-
+    dim.send("FTM_CONTROL/FAD_RESET");
+/*
     if (cnt==4)
         dim.send("FTM_CONTROL/RESET_CAMERA");
@@ -114,4 +116,7 @@
             }
     }
+*/
+
+
 
     // We have to wait a bit
