Errata exists for this version of the document.
This example is included to illustrate Boolean data. For the purposes of Historian 4 examples consider a source historian with the following data:
Timestamp |
Value |
StatusCode |
Notes |
12:00:00 |
- |
Bad_NoData |
First archive entry, Point created |
12:00:02 |
TRUE |
Raw, Good |
|
12:00:25 |
FALSE |
Raw, Good |
|
12:00:28 |
TRUE |
Raw, Good |
|
12:00:39 |
TRUE |
Raw, Good |
|
12:00:42 |
- |
Raw, Bad |
Bad quality data received, Bad data entered |
12:00:48 |
TRUE |
Raw, Good |
Received Good StatusCode value |
12:00:52 |
FALSE |
Raw, Good |
|
12:01:12 |
FALSE |
Raw, Good |
|
12:01:17 |
TRUE |
Raw, Uncertain |
Value is flagged as questionable |
12:01:23 |
TRUE |
Raw, Good |
|
12:01:26 |
FALSE |
Raw, Good |
|
12:01:30 |
TRUE |
Raw, Good |
|
|
- |
No Data |
No more entries, awaiting next Value |
For the purposes of all Historian 4 examples:
- TreatUncertainAsBad = True. Therefore Uncertain values are treated as Bad, and not included in the Aggregate call.
- Stepped Attribute = True. Therefore SteppedInterpolation is used between data points.
- UseSlopedExtrapolation = False. Therefore SteppedExtrapolation is used at end boundary conditions.
- PercentGood = 100, PercentBad = 100.
For Boolean data interpolation and extrapolation shall always be stepped.