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

Change access path to variables in FEMTO-DS

parent 7ffed084
No related branches found
No related tags found
No related merge requests found
......@@ -108,8 +108,8 @@ class Femto(Device):
# Now getting a variable node using its browse path
self.opc_obj = self.client.get_root_node().get_child(["0:Objects",
"{}:StationMetrics".format(idx),
"{}:RCU".format(idx)])
"{}:FEMTO".format(idx),
"{}:RCU_error_spectra".format(idx)])
print("Connected to the OPC-UA server %s" % (self.OPC_Server_Name))
except Exception as e:
print("Failed to connect to the OPC-UA server %s. Traceback: %s" % (self.OPC_Server_Name, traceback.format_exc()))
......
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