@@ -96,6 +96,16 @@ CPU load or network jitter real notifications can coalesce. The fake fires
|
||||
one callback per test invocation — real callback-coalescing behavior is
|
||||
untested.
|
||||
|
||||
PR 3.1 (#313) makes the per-tag `MaxDelay` configurable via
|
||||
`TwinCATTagDefinition.MaxDelayMs` — the runtime can buffer changes for up to
|
||||
that many milliseconds before dispatch, deliberately coalescing bursty
|
||||
high-frequency signals so the OPC UA queue downstream doesn't flood. Default
|
||||
`null` / `0` preserves the pre-PR-3.1 "fire ASAP" behaviour.
|
||||
`TwinCATMaxDelayTests.Driver_coalesces_notifications_at_max_delay` exercises
|
||||
the wire-side coalescer end-to-end against `GVL_Fixture.nCounter`; the unit
|
||||
suite (`TwinCATNativeNotificationTests`) covers the plumbing contract via
|
||||
the `FakeTwinCATClient.FakeNotification.MaxDelayMs` capture.
|
||||
|
||||
### 4. TC2 vs TC3 variant handling
|
||||
|
||||
TwinCAT 2 (ADS v1) and TwinCAT 3 (ADS v2) have subtly different
|
||||
|
||||
Reference in New Issue
Block a user