Commit 3314a156 authored by yogesh.m's avatar yogesh.m

update

parent b4efccbe
......@@ -451,7 +451,7 @@ class opcua_pack():
return sock
def write_opcua_value(self,sock,ns,nodeid,val,datatype):
if(datatype=="<class 'float'>")
if(datatype=="<class 'float'>"):
sock.sendall(self.write_request(self.SecureChannelId, self.TokenId, self.identifier_string, self.int_chunk_seq, ns, nodeid, val, datatype))
else:
sock.sendall(self.write_request(self.SecureChannelId, self.TokenId, self.identifier_string, self.float_chunk_seq, ns,nodeid, val, datatype))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment