rec_verify
Verify a finished recording's integrity, timeline, and counter to confirm lossless capture. Returns PASS if all checks hold, INCONCLUSIVE if unprovable, FAIL on loss.
Instructions
Prove a finished recording. integrity: the file is byte-for-byte what the recorder wrote (sha256 of every
line, signed with this install's key) — 'MODIFIED' if anything was edited. timeline (cycle mode): per
notification block, holes between the PLC's own sample timestamps. counter (optional): a PLC variable that
increments every cycle and was recorded with the rest (your nCycleCount, or
TwinCAT_SystemInfoVarList._TaskInfo[1].CycleCount) must step by exactly step per sample — ground truth
for 'no sample lost'. verdict PASS only if all checks hold; INCONCLUSIVE when the file is intact but its
completeness cannot be shown (a change / poll recording without counter=, or a stop from an older version
whose blocks ended apart); FAIL on any loss, a block that never delivered, or symbols not subscribed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| step | No | ||
| counter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||