From 33f039ac3c7a8da7c17ce12fb3652fd5938e1c75 Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Fri, 22 Jan 2021 16:38:08 +0100
Subject: [PATCH] Add explanation why set masks after successful OPC-UA conn

---
 RCUSCC/RCUSCC/RCUSCC.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/RCUSCC/RCUSCC/RCUSCC.py b/RCUSCC/RCUSCC/RCUSCC.py
index 40b816bf3..255595652 100644
--- a/RCUSCC/RCUSCC/RCUSCC.py
+++ b/RCUSCC/RCUSCC/RCUSCC.py
@@ -367,7 +367,13 @@ class RCUSCC(Device):
         # Start keep-alive
         self.opcua_connection.start()
 
-        # Set the masks
+        # Set the masks.
+        #
+        # Attention!
+        # Set the masks only after the OPCUA connection has been
+        # established!  The setting of the masks needs to go through
+        # to the server.
+        #
         # TODO
         # Read default masks from config DB
         self.write_RCU_mask_RW(self._RCU_mask_RW)
-- 
GitLab