I am trying to get the max value of a tag value that is being imported from an opcua server.
It can read the data as either an float array or data set.
I can get the tag to read successfully, however there is a large amount of numbers in the set (around 2,000). Obviously I don’t want to store the whole set so I am trying to store just the max value.
I have tried, setting an expression where I got the function and tag name from the side menu.
tankreading is the name of my tag
max({tankreading})
max({[.]hydro[value]})
max({[.]hydro[value].data})
and many other variants of that. I have tried setting the tankreading to both array and dataset. Any ideas?
thanks in advance