Skip to content

Per-module clock source and start trigger in the generic AI viewer - #55

Merged
seb5g merged 8 commits into
5.3.xfrom
feat/module-clock-trigger
Nov 23, 2026
Merged

seb5g merged 8 commits into
5.3.xfrom
feat/module-clock-trigger

Conversation

@seb5g

@seb5g seb5g commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Each module gets its own group: frequency, clock (internal, a terminal, or the clock exported by another module) and start trigger (none, digital edge, analog edge). It replaces the global Start trigger and Module frequencies groups.
  • Tasks start in the order the sources require: waiters first, the provider last. Modules waiting for each other raise a clear error.
  • With an external clock the 1D axis is the sample index (no unit), not seconds, so no wrong time axis is drawn.
  • TOML: per module clock and [modules.<name>.trigger]; the global [trigger] table (unreleased) is dropped. Docs and example updated.

Test plan

  • Unit tests (220 passed): config round trip, per-module defaults, start order, cycle error, sample axis, menu back to (manual).
  • On real hardware: per-module trigger, shared clock between modules, external clock (simulated devices ignore triggers).

Generated by Claude Code

Each module has its own frequency, clock (internal, a terminal or the clock of
another module) and start trigger. Tasks start in the order the sources
require; with an external clock the 1D axis is in samples. The TOML format
gains per-module clock and [modules.<name>.trigger].

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL
No change of behaviour: module and section comments, one helper for the
channels grouped by module, a clearer commit_settings.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL
…trigger source

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL
… channel ranges

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL
@seb5g
seb5g merged commit 3919030 into 5.3.x Nov 23, 2026
9 checks passed
@seb5g
seb5g deleted the feat/module-clock-trigger branch November 23, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants