From 8589f4522b69fa328a28a89d8649ae298de81aad Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Thu, 7 May 2020 15:05:56 +0200
Subject: [PATCH] Change access path to variables in FEMTO-DS

---
 Femto-DS/Femto.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Femto-DS/Femto.py b/Femto-DS/Femto.py
index 9d2a6a384..9885b70cc 100644
--- a/Femto-DS/Femto.py
+++ b/Femto-DS/Femto.py
@@ -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()))
-- 
GitLab