diff --git a/CDB/LOFAR_ConfigDb.json b/CDB/LOFAR_ConfigDb.json index 1ec0be353de49394ddfe1119370c91279ff7db51..9d1ddb9747439ad455797ddbd92e816e7fb17ce2 100644 --- a/CDB/LOFAR_ConfigDb.json +++ b/CDB/LOFAR_ConfigDb.json @@ -112,7 +112,7 @@ "4842" ], "OPC_Time_Out": [ - "1.0" + "5.0" ], "polled_attr": [ "pwr_dig_r", diff --git a/RCUSCC/RCUSCC/RCUSCC.py b/RCUSCC/RCUSCC/RCUSCC.py index 6cdc540436b74e6aa57d6b17f84cdb1ec492a6e8..d5ff4face20b8bab9f2593c680e2a327536196f2 100644 --- a/RCUSCC/RCUSCC/RCUSCC.py +++ b/RCUSCC/RCUSCC/RCUSCC.py @@ -178,7 +178,7 @@ class RCUSCC(Device): def _connect(self): self.debug_stream("Connecting to OPC-UA server %s:%d...", self.OPC_Server_Name, self.OPC_Server_Port) - self.client = opcua.Client("opc.tcp://{}:{}/".format(self.OPC_Server_Name, self.OPC_Server_Port), self.OPC_Time_Out * 1000) + self.client = opcua.Client("opc.tcp://{}:{}/".format(self.OPC_Server_Name, self.OPC_Server_Port), self.OPC_Time_Out) # timeout in seconds self.client.connect() self.debug_stream("Connecting to OPC-UA server %s:%d done.", self.OPC_Server_Name, self.OPC_Server_Port)