I come to you with what is (I think) a very simple question, but I can't seem to find out how to do it.
I am a read-only user on a PI server, and I'd like to retrieve non-interpolated data from this server. (ie. between begin and end, every hour, the last actual value that was in the system at that time)
The point in question is NOT set to step.
So far, I have come up with:
If oSDK Is Nothing Then oSDK = New PISDK.PISDK
Dim oPoint = oSDK.GetPoint("\\" + srv + "\" + tag)
Dim oData = oPoint.Data.RecordedValues(temp_begin, temp_end, PISDK.BoundaryTypeConstants.btOutside)
But that would only give me interpolated values.
I have tried as well
Dim oData = oPoint.Data.TimedValues(aTime)
with aTime an array of PITimes, but this still gives me interpolated values.
I could do a loop or ArcValue, but I assume that would take forever.
Is there a method in the SDK that would allow me to achieve this?
Thanks a lot,