AnsweredAssumed Answered

How to get a value from a trace by only using time and date in visual basic?

Question asked by kls0000 on Nov 13, 2019
Latest reply on Nov 27, 2019 by gregor

Please provide a Visual Basic script to get a value from a trace in PI Processbook by only using the date and timestamp.  I do not want to use an index in the function like the following script.

 

ThisDisplay.Trend.GetTraceValue(index,VrDate,VrStatus)

 

I prefer ThisDisplay.Trend.GetTraceValue(Date, Time) which return the value for that date and time.  Also the date and time can be any time prior to today's date and time.

Outcomes