Index: /trunk/FACT++/src/ratescan.cc
===================================================================
--- /trunk/FACT++/src/ratescan.cc	(revision 16450)
+++ /trunk/FACT++/src/ratescan.cc	(revision 16451)
@@ -182,5 +182,5 @@
         {
             Message("Rate scan stopped due to timeout.");
-            Dim::SendCommand("FTM_CONTROL/RESET_CONFIGURE");
+            Dim::SendCommandNB("FTM_CONTROL/RESET_CONFIGURE");
             return RateScan::State::kConnected;
         }
@@ -189,5 +189,5 @@
         {
             Message("Rate scan finished.");
-            Dim::SendCommand("FTM_CONTROL/RESET_CONFIGURE");
+            Dim::SendCommandNB("FTM_CONTROL/RESET_CONFIGURE");
             return RateScan::State::kConnected;
         }
@@ -206,5 +206,5 @@
 
         const int32_t cmd[2] = { -1, fThreshold };
-        DimClient::sendCommandNB(fCommand.c_str(), (void*)cmd, 8);
+        Dim::SendCommandNB(fCommand.c_str(), cmd);
 
         return GetCurrentState();
@@ -237,5 +237,5 @@
 
         //Dim::SendCommand("FAD_CONTROL/SET_FILE_FORMAT", uint16_t(0));
-        Dim::SendCommand("FTM_CONTROL/CONFIGURE", string("ratescan"));
+        Dim::SendCommandNB("FTM_CONTROL/CONFIGURE", string("ratescan"));
 
         Message("Configuration for ratescan started.");
@@ -255,5 +255,5 @@
         const int32_t data[2] = { -1, fThresholdMin };
 
-        Dim::SendCommand(fCommand, data);
+        Dim::SendCommandNB(fCommand, data);
 
         fThreshold = fThresholdMin;
@@ -290,5 +290,5 @@
             return GetCurrentState();
 
-        Dim::SendCommand("FTM_CONTROL/RESET_CONFIGURE");
+        Dim::SendCommandNB("FTM_CONTROL/RESET_CONFIGURE");
         Message("Rate scan manually stopped.");
 
