Skip to content

Adding example in NI-DC Power , NI-DMM , NI-Switch - #2192

Open
bkumarng-NI wants to merge 3 commits into
ni:masterfrom
bkumarng-NI:master
Open

Adding example in NI-DC Power , NI-DMM , NI-Switch#2192
bkumarng-NI wants to merge 3 commits into
ni:masterfrom
bkumarng-NI:master

Conversation

@bkumarng-NI

Copy link
Copy Markdown

Summary

  • Added a new NI-DMM example.

  • Added a new NI-DCPower example.

  • Added a new NI-SWITCH example.

  • This contribution adheres to CONTRIBUTING.md

  • I've updated CHANGELOG.md.

What does this Pull Request accomplish?

  • Add nidcpower_hardware_timed_single_point.py, nidmm_triggered_fetch_waveform.py, niswitch_software_scanning.py
  • Update CHANGELOG.md to call out the new examples in unreleased section.

What testing has been done?

  • tox completed successfully.
  • pytest src/nidmm/system_tests -c generated/nidmm/tox-system_tests.ini
  • pytest src/nidcpower/system_tests -c generated/nidcpower/tox-system_tests.ini
  • pytest src/niswitch/system_tests -c generated/niswitch/tox-system_tests.ini

Results

  • All tests passed successfully.

Adding one new example each in NI-DMM, NI-DCPower, and NI-SWITCH.
updated CHANGELOG.md to include additional examples added in nidcpower, nidmm, niswitch in "unreleased section.
@codecov-commenter

codecov-commenter commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.92%. Comparing base (5387cd9) to head (ecda1b2).

❌ Your project status has failed because the head coverage (80.92%) is below the target coverage (85.00%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (5387cd9) and HEAD (ecda1b2). Click for more details.

HEAD has 27 uploads less than BASE
Flag BASE (5387cd9) HEAD (ecda1b2)
codegenunittests 1 0
nifakeunittests 5 2
nidcpowerunittests 5 2
nidigitalunittests 5 2
nimodinstunittests 5 2
niscopeunittests 5 2
nitclkunittests 5 2
niswitchsystemtests 1 0
nidmmsystemtests 1 0
niscopesystemtests 1 0
nidigitalsystemtests 1 0
nirfsgsystemtests 1 0
nifgensystemtests 1 0
nidcpowersystemtests 1 0
nitclksystemtests 1 0
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2192      +/-   ##
==========================================
- Coverage   89.32%   80.92%   -8.41%     
==========================================
  Files          73       24      -49     
  Lines       19048     2998   -16050     
==========================================
- Hits        17014     2426   -14588     
+ Misses       2034      572    -1462     
Flag Coverage Δ
codegenunittests ?
nidcpowersystemtests ?
nidcpowerunittests 89.53% <ø> (ø)
nidigitalsystemtests ?
nidigitalunittests 68.44% <ø> (ø)
nidmmsystemtests ?
nifakeunittests 86.01% <ø> (ø)
nifgensystemtests ?
nimodinstsystemtests 73.85% <ø> (ø)
nimodinstunittests 94.20% <ø> (ø)
nirfsgsystemtests ?
niscopesystemtests ?
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.
see 53 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5387cd9...ecda1b2. Read the comment docs.

🚀 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