I am trying to obtain the length of time it takes for the value of one PI tag to be greater or equal than the value of another PI tag within a given time frame. This time frame is set using the start and end time of event frames. I am using C# and AFSDK. I have seen some related examples using PISDK, but I would rather use AFSDK if possible. Could anyone point me to a good starting point or examples on how I could achieve this?