From 091dc44efc4f9a30b78b40008a43c02cae56040e Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Thu, 26 Nov 2020 14:00:42 +0100
Subject: [PATCH] Set polling thread interval to 0

Hopefully this will disable the polling.
---
 CDB/LOFAR_ConfigDb.json  | 63 ++++++++++++++++++++--------------------
 CDB/thomas_ConfigDb.json | 63 ++++++++++++++++++++--------------------
 2 files changed, 64 insertions(+), 62 deletions(-)

diff --git a/CDB/LOFAR_ConfigDb.json b/CDB/LOFAR_ConfigDb.json
index 311be39f6..ff1951244 100644
--- a/CDB/LOFAR_ConfigDb.json
+++ b/CDB/LOFAR_ConfigDb.json
@@ -242,50 +242,51 @@
                             ],
                             "polled_attr": [
                                 "attenuator1_r",
-                                "1000",
+                                "0",
                                 "attenuator1_rw",
-                                "1000",
+                                "0",
                                 "attenuator2_r",
-                                "1000",
+                                "0",
                                 "attenuator2_rw",
-                                "1000",
+                                "0",
                                 "attenuator3_r",
-                                "1000",
+                                "0",
                                 "attenuator3_rw",
-                                "1000",
+                                "0",
                                 "band1_r",
-                                "1000",
+                                "0",
                                 "band1_rw",
-                                "1000",
+                                "0",
                                 "band2_r",
-                                "1000",
+                                "0",
                                 "band2_rw",
-                                "1000",
+                                "0",
                                 "band3_r",
-                                "1000",
+                                "0",
                                 "band3_rw",
-                                "1000",
+                                "0",
                                 "dither1_frequency_r",
-                                "1000",
+                                "0",
                                 "dither1_frequency_rw",
-                                "1000",
+                                "0",
                                 "dither2_frequency_r",
-                                "1000",
+                                "0",
                                 "dither2_frequency_rw",
-                                "1000",
+                                "0",
                                 "led0_r",
-                                "1000",
+                                "0",
                                 "led0_rw",
-                                "1000",
+                                "0",
                                 "pwr_dig_r",
-                                "1000",
+                                "0",
                                 "pwr_dig_rw",
-                                "1000",
+                                "0",
                                 "temp_r",
-                                "1000",
+                                "0",
                                 "state",
                                 "1000",
-                                "status"
+                                "status",
+                                "1000"
                             ]
                         }
                     }
@@ -419,23 +420,23 @@
                         "properties": {
                             "polled_attr": [
                                 "integration_time",
-                                "1000",
+                                "0",
                                 "pause_time",
-                                "1000",
+                                "0",
                                 "rcu_modes",
-                                "1000",
+                                "0",
                                 "state",
-                                "1000",
+                                "0",
                                 "status",
-                                "1000",
+                                "0",
                                 "subband",
-                                "1000",
+                                "0",
                                 "time_stamp",
-                                "1000",
+                                "0",
                                 "visibilities_imag",
-                                "1000",
+                                "0",
                                 "visibilities_real",
-                                "1000"
+                                "0"
                             ]
                         }
                     }
diff --git a/CDB/thomas_ConfigDb.json b/CDB/thomas_ConfigDb.json
index e7843ccf6..a497ada24 100644
--- a/CDB/thomas_ConfigDb.json
+++ b/CDB/thomas_ConfigDb.json
@@ -242,50 +242,51 @@
                             ],
                             "polled_attr": [
                                 "attenuator1_r",
-                                "1000",
+                                "0",
                                 "attenuator1_rw",
-                                "1000",
+                                "0",
                                 "attenuator2_r",
-                                "1000",
+                                "0",
                                 "attenuator2_rw",
-                                "1000",
+                                "0",
                                 "attenuator3_r",
-                                "1000",
+                                "0",
                                 "attenuator3_rw",
-                                "1000",
+                                "0",
                                 "band1_r",
-                                "1000",
+                                "0",
                                 "band1_rw",
-                                "1000",
+                                "0",
                                 "band2_r",
-                                "1000",
+                                "0",
                                 "band2_rw",
-                                "1000",
+                                "0",
                                 "band3_r",
-                                "1000",
+                                "0",
                                 "band3_rw",
-                                "1000",
+                                "0",
                                 "dither1_frequency_r",
-                                "1000",
+                                "0",
                                 "dither1_frequency_rw",
-                                "1000",
+                                "0",
                                 "dither2_frequency_r",
-                                "1000",
+                                "0",
                                 "dither2_frequency_rw",
-                                "1000",
+                                "0",
                                 "led0_r",
-                                "1000",
+                                "0",
                                 "led0_rw",
-                                "1000",
+                                "0",
                                 "pwr_dig_r",
-                                "1000",
+                                "0",
                                 "pwr_dig_rw",
-                                "1000",
+                                "0",
                                 "temp_r",
-                                "1000",
+                                "0",
                                 "state",
                                 "1000",
-                                "status"
+                                "status",
+                                "1000"
                             ]
                         }
                     }
@@ -419,23 +420,23 @@
                         "properties": {
                             "polled_attr": [
                                 "integration_time",
-                                "1000",
+                                "0",
                                 "pause_time",
-                                "1000",
+                                "0",
                                 "rcu_modes",
-                                "1000",
+                                "0",
                                 "state",
-                                "1000",
+                                "0",
                                 "status",
-                                "1000",
+                                "0",
                                 "subband",
-                                "1000",
+                                "0",
                                 "time_stamp",
-                                "1000",
+                                "0",
                                 "visibilities_imag",
-                                "1000",
+                                "0",
                                 "visibilities_real",
-                                "1000"
+                                "0"
                             ]
                         }
                     }
-- 
GitLab