Skip to content

feat: expand SCPI message producer with comprehensive command support#5

Merged
tylerkron merged 1 commit intomainfrom
scpi-commands
Mar 25, 2025
Merged

feat: expand SCPI message producer with comprehensive command support#5
tylerkron merged 1 commit intomainfrom
scpi-commands

Conversation

@tylerkron
Copy link
Copy Markdown
Contributor

Added multiple SCPI command messages to the ScpiMessageProducer class, including device control, logging, streaming, and network configuration commands. Updated unit tests to reflect new method names and ensure correct command generation.

closes #3

Added multiple SCPI command messages to the `ScpiMessageProducer` class, including device control, logging, streaming, and network configuration commands. Updated unit tests to reflect new method names and ensure correct command generation.
@tylerkron tylerkron merged commit f79cd8a into main Mar 25, 2025
1 check passed
@tylerkron tylerkron deleted the scpi-commands branch March 25, 2025 04:09
tylerkron added a commit that referenced this pull request Apr 25, 2026
- Averaging now flushes a final partial window when the sample count
  isn't a multiple of AverageWindow; previously trailing samples were
  silently dropped (Qodo #2).
- INVALID({ticks}) fallback now applies in both absolute and relative
  time modes; previously relative mode skipped the invalid-tick check
  entirely and emitted a numeric offset for out-of-range ticks (#7).
- ExportAsync now calls cancellationToken.ThrowIfCancellationRequested()
  before writing the CSV header, preventing header-only output for a
  pre-cancelled token (#8).
- ArgumentOutOfRangeException for invalid AverageWindow now reports
  paramName as "options.AverageWindow" instead of "options" (#9).
- Test for "G" formatting now compares against InvariantCulture, matching
  the exporter's invariant output and avoiding failures on de-DE etc. (#5).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

SCPI Commands

1 participant