Skip to content

NI-DCPower: Add example for sinking DC voltage with output resistance on electronic load - #2232

Open
TheodoreEmr wants to merge 1 commit into
ni:masterfrom
TheodoreEmr:nidcpower-sink-dc-voltage-example
Open

TheodoreEmr wants to merge 1 commit into
ni:masterfrom
TheodoreEmr:nidcpower-sink-dc-voltage-example

Conversation

@TheodoreEmr

Copy link
Copy Markdown
  • 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?

  • Add nidcpower_sink_dc_voltage_with_output_resistance.py
  • Update docs/nidcpower/examples.rst
  • Update CHANGELOG.md to call out the new examples

What testing has been done?

  • Unit tests added as part of the example file passed.
  • Both tox and tox -c .\generated\nidcpower\tox-system_tests.ini succeeded

@codecov-commenter

codecov-commenter commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.78%. Comparing base (cdbd8f2) to head (a298fad).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2232      +/-   ##
==========================================
- Coverage   88.11%   84.78%   -3.33%     
==========================================
  Files          88       63      -25     
  Lines       22832    12891    -9941     
==========================================
- Hits        20119    10930    -9189     
+ Misses       2713     1961     -752     
Flag Coverage Δ
codegenunittests 84.78% <ø> (ø)
nidcpowersystemtests ?
nidcpowerunittests 89.53% <ø> (ø)
nidigitalsystemtests 92.04% <ø> (ø)
nidigitalunittests 68.43% <ø> (ø)
nidmmsystemtests 92.33% <ø> (ø)
nifakeunittests 86.08% <ø> (ø)
nifgensystemtests ?
nimodinstsystemtests 73.85% <ø> (ø)
nimodinstunittests 94.20% <ø> (ø)
nirfsasystemtests ?
nirfsaunittests 63.40% <ø> (ø)
nirfsgsystemtests ?
niscopesystemtests 89.99% <ø> (ø)
niscopeunittests 43.20% <ø> (ø)
nisesystemtests 91.50% <ø> (ø)
niswitchsystemtests ?
nitclksystemtests ?
nitclkunittests 98.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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