Skip to content

Generic digital input viewer (1D traces of lines) - #56

Merged
seb5g merged 3 commits into
5.3.xfrom
feat/di-viewer
Nov 23, 2026
Merged

seb5g merged 3 commits into
5.3.xfrom
feat/di-viewer

Conversation

@seb5g

@seb5g seb5g commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • New DAQ_1DViewer_NIDAQmx_DI: the generic viewer for digital input lines (Dev1/port0/line0) as 1D traces, one clocked digital task and one data (NI DI <module>) for each module.
  • It reuses the settings of each module of the analog viewer (frequency, clock, start trigger), with a digital start trigger only. The analog viewer is parametrised by the kind of channel, the subsystem and the task class; its behaviour is unchanged.
  • No live mode and no configuration file in this version (the files describe analog inputs). Documented in the viewer user guide.

Test plan

  • Unit tests (231 passed): lines of the tree, traces and labels, per-module task, frequency and digital trigger, no live mode and no configuration menu.
  • On real hardware: clocked digital input with the onboard clock or /Dev1/ai/SampleClock, digital trigger.

Generated by Claude Code

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

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

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL
@seb5g
seb5g merged commit e1cb4f9 into 5.3.x Nov 23, 2026
9 checks passed
@seb5g
seb5g deleted the feat/di-viewer branch November 23, 2026 12:38
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