In the example project, there is a metric: name: "ws3", Value: "nöö" which isn't being displayed in the Host Node (ignition).
could it be the strange characters (ö)?
could it be that it is the last metric in the list?
who knows!
check the NBIRTH message with a suitable subscriber. (final metric was missing)
find and fix the problem. (see comment below for the issues found)
--- old+++ new@@ -3,5 +3,5 @@
could it be that it is the last metric in the list?
who knows!
-1. check the NBIRTH message with a suitable subscriber.-2. find and fix the problem.+1. check the NBIRTH message with a suitable subscriber. (final metric was missing)+2. find and fix the problem. (see comment below for the issues found)
AddMetricList always logs "Success" even if adding a metric fails.
Total number of metrics in AllMetricList = 38 but getNBIRTHCertificate adds 39 metrics
getNBIRTHCertificate line 14: AddMetricSimple(NBirth);
getNBIRTHCertificate line 20: AddMetricList(AllMetricList);
This leads to an ERROR.PayloadNotEnoughMetrics
==> SHOULD: remove the AddMetricSimple and just add the NBirth to the AllMetricList
any errors returned by AddMetricsList are not passed on, eg with
getNBIRTHCertificate line 23: getNBIRTHCertificate := AddAllMetricsListErr;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Diff:
Diff:
getNBIRTHCertificate line 14: AddMetricSimple(NBirth);
getNBIRTHCertificate line 20: AddMetricList(AllMetricList);
This leads to an ERROR.PayloadNotEnoughMetrics
==> SHOULD: remove the AddMetricSimple and just add the NBirth to the AllMetricList
getNBIRTHCertificate line 23: getNBIRTHCertificate := AddAllMetricsListErr;
solved with r376