Skip to content

Conversation

@mikeprosserni
Copy link
Contributor

@mikeprosserni mikeprosserni commented Nov 6, 2025

  • This contribution adheres to CONTRIBUTING.md.
  • I've updated CHANGELOG.md if applicable.
  • I've added tests applicable for this pull request

What does this Pull Request accomplish?

In some of the read_waveform() methods (in AnalogMultiChannelReader, AnalogSingleChannelReader, and DigitalMultiChannelReader), the timeout parameter was marked as 'int', when they should all be 'float'.

(Also,/nidaqmx/system/__init__.py was missing an import, which was causing unrelated mypy errors, which I have fixed.)

Why should this Pull Request be merged?

AB#3462409

What testing has been done?

Ran lint, mypy, and all the autotests

@mikeprosserni mikeprosserni marked this pull request as ready for review November 6, 2025 16:22
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

Test Results

    42 files  ±0      42 suites  ±0   1h 4m 51s ⏱️ +24s
 3 110 tests ±0   2 451 ✅ ±0     659 💤 ±0  0 ❌ ±0 
51 408 runs  ±0  40 974 ✅ ±0  10 434 💤 ±0  0 ❌ ±0 

Results for commit 285e4ea. ± Comparison against base commit f7697cc.

@mikeprosserni mikeprosserni merged commit f8b6958 into master Nov 6, 2025
29 checks passed
@@ -1,5 +1,6 @@
"""NI-DAQmx system classes."""

from nidaqmx.system import storage
Copy link
Collaborator

@bkeryan bkeryan Nov 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this start causing problems now and not previously?

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.

4 participants