The Range2 Aggregate defined in Table 30 finds the difference between the maximum and minimum values in the interval as returned by the Minimum2 and Maximum2 Aggregates. Note that the range is always zero or positive.
Table 30 – Range2 Aggregate summary
Range2 Aggregate Characteristics |
||
Type |
Calculated |
|
Data Type |
Same as Source |
|
Use Bounds |
Simple (used in Minimum2 and Maximum2 calculations) |
|
Timestamp |
StartTime |
|
|
||
StatusCode Calculations |
||
Calculation Method |
Custom If Minimum2 or Maximum2 are Bad then the status is Bad_NoData. If Minimum2 or Maximum2 are Uncertain then the status is Uncertain_DataSubNormal. Good otherwise |
|
Partial |
Set Sometimes If an interval is not a complete interval |
|
Calculated |
Set Always |
|
Interpolated |
Not Set |
|
Raw |
Not Set |
|
Multi Value |
Not Set |
|
|
||
StatusCode Common Special Cases |
||
Before Start of Data |
Bad_NoData |
|
After End of Data |
Bad_NoData |
|
No Start Bound |
Handled by Minimum2 and Maximum2 |
|
No End Bound |
Handled by Minimum2 and Maximum2 |
|
Bound Bad |
Handled by Minimum2 and Maximum2 |
|
Bound Uncertain |
Handled by Minimum2 and Maximum2 |