Hi Robby,
You need to look at ArcValue method with the relevant Retrieval Type Constant - in this case rtAtOrAfter. Then supply your timestamp and you get returned the value at the time or the next available value.
Example:
Code:
Dim Tag As PISDK.PIPoint = _Server.PIPoints("TAGNAME")
Dim TagValue As PISDK.PIValue = Tag.Data.ArcValue("t+8h", RetrievalTypeConstants.rtAtOrAfter)
Rhys.
OSIsoft PI System SpecialistsPI consultancy on PI Systems, PISDK, AFSDK, OLEDB etc and PI custom developments. Well pretty much anything to do with PI!