I have an Excel spreadsheet to put lab measurements in the PI database.
I use VBA (the PiPutVal function) in combination with the manual interface.
Many lab measurements are only measured once a week, while the validity of the measurement is one day.
The value of PI remains unchanged, until a new value is entered, in the above example is therefore six days a non relevant value.
In the process book is not to see if the value is, or is not, relevant.
I would like to have “x” minutes after the time that a particular lab value is saved, a status in the PI tag like “No data”.
Do you know a way I can fix this?