I'm making a database that logs when and for how long a certain measurement is under a certain value.
But I can't seem to figure out what command I should use.
Basically, whenever the pH measurement drops under 7 I want to know when it started and how long it lasted.
I'm using the PI datalink 2016 version 5.3.0 and the data is collected from Siemens PCS 7.
Thanks in advance