Skip to content
Snippets Groups Projects
Commit aa406b0f authored by Thomas Juerges's avatar Thomas Juerges
Browse files

Set the namespace index to 1, SDP has not implemented it yet

parent dbedda9b
No related branches found
No related tags found
No related merge requests found
...@@ -132,8 +132,8 @@ class SDP(Device): ...@@ -132,8 +132,8 @@ class SDP(Device):
try: try:
self.name_space_index = self.client.get_namespace_index("http://lofar.eu") self.name_space_index = self.client.get_namespace_index("http://lofar.eu")
except Exception as e: except Exception as e:
self.warn_stream("Cannot determine the OPC-UA name space index. Will try and use the default = 2.") self.name_space_index = 1
self.name_space_index = 2 self.warn_stream("Cannot determine the OPC-UA name space index. Will try and use the default = %d." % (self.name_space_index))
self.obj_node = self.client.get_objects_node() self.obj_node = self.client.get_objects_node()
# TODO # TODO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment