Hello, I am trying to use a tag event script (value changed) to update a database value if it is above a certain session property
if currentValue > session.windgust:
Like this, although this doesnt work. But I do not have the dropdown to select any properties and I cant seem to find a way of referencing them from googling either,
Is it actually possible to do this?
The tag is the actual wind speed, I’m trying to get a max value over the last hour which I am achieving using transaction group but as far as i can tell there is no function to log the max value as it occurs (I just have it executing every 30 seconds which is already a lot and still leaves the possibility for missed max values)
so my idea was to monitor this actual wind speed tag change separately and then say if any of these change values are higher than the logged max it would replace it to give me a more accurate maximum gusting value.