Does AFListData.UpdateValues process values according to the collection index or are the values sorted to be in order? In other words, is it my responsibility to sort the collection before supplying or will the AF SDK ensure in order processing?
It is your responsibility to sort if you expect to generate data out of order for a single pi point within the list of values. AFValues.Sort() will do this for you in this case. If you do not sort, the data will still be placed into the archive, but will affect the compression algorithm as well as incur costly out-of-order event processing on the server. I would expect generation of out-of-order data on the client side would be a rare case. Rather than make all users suffer from the performance loss of sorting an already sorted list, we ask that the caller make this decision and call AFValues.Sort() if out-of-order events for a single point within the list is expected.
Okay understood, thanks Chris.
I can't guarantee no OOO data in my scenario (delays in data delivery are allowed within a threshold) but it will be rare occasions as you state - I am buffering in some calculations. I'm also looking at a peculiar case of archive data coming through my snapshot PIDataPipe...still testing though.
Retrieving data ...