Skip to content

Generic output actuators (analog output and digital line) - #57

Merged
seb5g merged 7 commits into
5.3.xfrom
feat/ao-do-actuator
Nov 23, 2026
Merged

seb5g merged 7 commits into
5.3.xfrom
feat/ao-do-actuator

Conversation

@seb5g

@seb5g seb5g commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Two actuators on the nidaqmx API, each driving one output, on demand, one point at a time (no clock, no waveform), on a shared base (OutputActuator):
    • DAQ_Move_NIDAQmx: an analog output, voltage or current with its range (a level outside it is cut), Simple user interface.
    • DAQ_Move_NIDAQmx_DO: a digital line, 0 or 1, Binary user interface, with a pulse option (high for a width in ms, then low) to trigger an acquisition through a PFI terminal. Each pulse is logged and counted (read-only Pulses sent), as the line is low again afterwards.
  • The output is set to 0 (0 V, 0 A or low) at start, when the channel or the type changes, and at close. The position is the last level written, as it cannot be read back.
  • User guide page and README updated.

Merge #56 first or not: it is merged, so the diff is only this change.

Test plan

  • Unit tests (242 passed): lists of outputs, zero at start and close, moves, clipping, current type and unit, change of channel, digital line, pulse, log and count of pulses, user interface types.
  • On real hardware: an AO level on a voltmeter, and a DO pulse wired to a PFI used as a start trigger.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL

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
…ith a pulse option)

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
…(Binary UI)

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
@seb5g seb5g changed the title Generic output actuator (analog output or digital line) Generic output actuators (analog output and digital line) Nov 23, 2026
@seb5g
seb5g merged commit 60bcbb6 into 5.3.x Nov 23, 2026
9 checks passed
@seb5g
seb5g deleted the feat/ao-do-actuator branch November 23, 2026 12:44
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