diff --git a/src/comm.cpp b/src/comm.cpp
index 0cb3c142099e70afdda4d6cb58d1afb80cb90c58..28450cc25697454a15ebde54d44a167cddda470e 100644
--- a/src/comm.cpp
+++ b/src/comm.cpp
@@ -128,7 +128,8 @@ int CComm::read(unsigned char *data,int len)
     }
     else
     {
-      throw CCommException(_HERE_,"The communication device is not configured yet.\n",this->comm_id);
+      return 0;
+//      throw CCommException(_HERE_,"The communication device is not configured yet.\n",this->comm_id);
     }
   }
   return len;
@@ -165,7 +166,8 @@ int CComm::write(unsigned char *data,int len)
     else
     {
       this->access_comm.exit();
-      throw CCommException(_HERE_,"The communication device is not configured yet.\n",this->comm_id);
+      return 0;
+//      throw CCommException(_HERE_,"The communication device is not configured yet.\n",this->comm_id);
     }
     this->access_comm.exit();
     return len;