diff --git a/CDB/thijs_ConfigDb.json b/CDB/thijs_ConfigDb.json index 442d5d0d1caf34b952d492235753b428467dd1ea..85d7df9a69d730f621b99e777b39f95670bb9637 100644 --- a/CDB/thijs_ConfigDb.json +++ b/CDB/thijs_ConfigDb.json @@ -36,13 +36,6 @@ "1": { "example_device": { "LTS/example_device/1": { - "attribute_properties": { - "Ant_mask_RW": { - "archive_period": [ - "600000" - ] - } - }, "properties": { "OPC_Server_Name": [ "host.docker.internal" @@ -62,13 +55,6 @@ "1": { "ini_device": { "LTS/ini_device/1": { - "attribute_properties": { - "Ant_mask_RW": { - "archive_period": [ - "600000" - ] - } - }, "properties": { "OPC_Server_Name": [ "host.docker.internal" @@ -88,13 +74,6 @@ "1": { "APSCTL": { "LTS/APSCTL/1": { - "attribute_properties": { - "Ant_mask_RW": { - "archive_period": [ - "600000" - ] - } - }, "properties": { "OPC_Server_Name": [ "ltspi.astron.nl" @@ -114,13 +93,6 @@ "1": { "SST": { "LTS/SST/1": { - "attribute_properties": { - "Ant_mask_RW": { - "archive_period": [ - "600000" - ] - } - }, "properties": { "SST_Port": [ "5001" @@ -134,13 +106,6 @@ "1": { "SNMP": { "LTS/SNMP/1": { - "attribute_properties": { - "Ant_mask_RW": { - "archive_period": [ - "600000" - ] - } - }, "properties": { "SNMP_community": [ "public" diff --git a/devices/Statistics.py b/devices/Statistics.py index 7625ef54edfdb4f7a125b9ee45f173a2bab60632..6b56b1aaac5dca54b02f0bc9e91b035da2a89f83 100644 --- a/devices/Statistics.py +++ b/devices/Statistics.py @@ -45,6 +45,8 @@ class SST(hardware_device): # ---------- # -------- + # SST client annotation consists of a dict that contains the parameter name that needs to be read. + # Example: comms_annotation={"parameter": "this_value_R"} packet_count_R = attribute_wrapper(comms_annotation={"parameter": "packet_count_R"}, datatype=numpy.int64) last_packet_timestamp_R = attribute_wrapper(comms_annotation={"parameter": "last_packet_timestamp_R"}, datatype=numpy.int64)