Example 1: cyclic retrieval
- Last UpdatedMar 19, 2025
- 1 minute read
For this example, the following data is stored in the Historian:
|
DateTime |
Value |
|---|---|
|
2012-01-01 07:59:53 |
34.42384 |
|
2012-01-01 08:00:13 |
15.02637 |
|
2012-01-01 08:00:33 |
20.29732 |
|
2012-01-01 08:00:53 |
37.40273 |
|
2012-01-01 08:01:13 |
24.31662 |
For cyclic retrieval, cycles start at the start DateTime and occur at intervals specified by wwResolution in the query. If you query for the data 2012-01-01 08:00:00 to 2012-01-01 08:01:00 with four cycles, the wwResolution column in the results show the time in milliseconds until the next point.
|
DateTime |
Value |
wwResolution |
|---|---|---|
|
2012-01-01 08:00:00 |
34.42384 |
20000 |
|
2012-01-01 08:00:20 |
15.02637 |
20000 |
|
2012-01-01 08:00:40 |
20.29732 |
20000 |
|
2012-01-01 08:01:00 |
37.40273 |
20000 |