Das Skript:
Code: Alles auswählen
object dp = dom.GetObject("$src$");
if (dp) {
dom.GetObject("CUxD.CUX2801001:5.POSTIT").State((dom.GetObject((dp.Channel()))).Address() #"."# dp.HssType() #";"#dp.Value());
}
Code: Alles auswählen
LOGIT=00FFFFFFFFFFF:
LOGIT=: ACTUAL_TEMPERATURE
Code: Alles auswählen
2019-11-16T10:38:45 00FFFFFFFFFFF:1.HUMIDITY 45
2019-11-16T10:38:45 00FFFFFFFFFFF:1.ACTUAL_TEMPERATURE 20.000000
2019-11-16T10:41:03 00FFFFFFFFFFF:1.ACTUAL_TEMPERATURE 22.900000
2019-11-16T10:43:07 00FFFFFFFFFFF:1.HUMIDITY 41
2019-11-16T10:43:07 00FFFFFFFFFFF:1.ACTUAL_TEMPERATURE 24.600000
2019-11-16T10:46:00 00FFFFFFFFFFF:1.HUMIDITY 38
2019-11-16T10:46:00 00FFFFFFFFFFF:1.ACTUAL_TEMPERATURE 26.800000
2019-11-16T10:48:39 00FFFFFFFFFFF:1.HUMIDITY 37
2019-11-16T10:48:39 00FFFFFFFFFFF:1.ACTUAL_TEMPERATURE 28.000000
(Man sieht beim Laden kurz dass 5 Werte zu Temp gefunden werden)