Files
histsdk/docs/reverse-engineering/getnextrow-interpolated-memory-latest.json
dohertj2 c95824a65d Initial commit: managed .NET 10 AVEVA Historian SDK + reverse-engineering toolkit
Full read-only SDK (src/AVEVA.Historian.Client) implementing the CLAUDE.md required
surface against AVEVA Historian's binary WCF protocol — no native AVEVA runtime
dependency. All operations live-verified against a local Historian:

- ProbeAsync, ReadRawAsync, ReadAggregateAsync, ReadAtTimeAsync, ReadEventsAsync
- BrowseTagNamesAsync, GetTagMetadataAsync (17 native data-type codes mapped)
- GetConnectionStatusAsync, GetStoreForwardStatusAsync, GetSystemParameterAsync
- 108/108 unit + integration tests pass

Includes the reverse-engineering toolkit (tools/AVEVA.Historian.ReverseEngineering)
used to decode the protocol: WCF probes, IL inspection via dnlib, and IL-rewrite
instrumentation (instrument-wcf-{write,read}message etc.) plus the .NET Framework
trace harness (tools/AVEVA.Historian.NativeTraceHarness) for parity testing.

Sanitized handoff evidence under docs/reverse-engineering/. Native AVEVA binaries
(current/, aveva-install-x64/, aveva-install-x86/) are gitignored — fetch separately
from the AVEVA installer.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 06:31:48 -04:00

31 lines
987 B
JSON

{
"Count": 2,
"Rows": [
{
"Index": 0,
"Sha256": "09de8a05e230f8367265a3034d8d1fac17b34afeeb122ebfdbfe699a41855a99",
"TagKey": 238,
"EndUtc_0x28": "2026-05-01T14:36:00.7909908Z",
"StartUtc_0x150": "2026-04-24T15:56:00.7909908Z",
"Quality_0x30": 0,
"QualityDetail_0x34": 248,
"OpcQuality_0x38": 192,
"PercentGood_0x80": 100.0,
"ResolutionCandidate_0x1B8": 7
},
{
"Index": 1,
"Sha256": "09de8a05e230f8367265a3034d8d1fac17b34afeeb122ebfdbfe699a41855a99",
"TagKey": 238,
"EndUtc_0x28": "2026-05-01T14:36:00.7909908Z",
"StartUtc_0x150": "2026-04-24T15:56:00.7909908Z",
"Quality_0x30": 0,
"QualityDetail_0x34": 248,
"OpcQuality_0x38": 192,
"PercentGood_0x80": 100.0,
"ResolutionCandidate_0x1B8": 7
}
],
"Notes": "Interpolated row layout matches aggregate time-bound offsets in this fixture; second capture duplicates the first after no-more-data."
}