EndLast

This is a Geo SCADA Expert specific algorithm.

The EndLast algorithm returns the last value in the data for the resample interval. When there are values in the defined resample interval, the EndLast algorithm returns the last value in the resample interval. However, if there are no values in the defined resample interval, the EndLast algorithm will return the last value prior to the resample interval.

The results returned by the algorithm do not depend on the quality of the data. You can choose to filter the data on quality using the Qualities combo box in the Edit Source window (see Configure a Trace)

Take care with End and End Last Historic Algorithms used on clients, or with Geo SCADA Expert features, that run in Local Time with Daylight Saving Time. Ensure that the start and end times specified for the sample interval do not coincide exactly with the time at which the clock jumps backward. Include a small offset in the sample time, to offset the calculation to avoid the sample end or start time exactly matching the time that the clock jumps backward at the transition from Daylight Saving Time to Standard Time. A small offset of 1s or even 1ms should suffice. For more information about Daylight Saving Time, see The Effects of Daylight Saving Time Adjustments.

The quality is calculated, raw value quality, except when raw value is exactly at end of the sample interval and then it is raw, raw value quality.

The timestamp is the time at the end of the defined resample interval, even if the actual value was taken from a sample prior to the defined resample interval. So the timestamp may not correspond with the time at which the last value was reported.


Disclaimer

Geo SCADA Expert 2020