Skip to content

Adding Measure Temperature (RTD) example in NI-DMM - #2221

Open
divakar-selvam07 wants to merge 6 commits into
ni:masterfrom
NI-velmurugan:users/diva/add-nidmm-measure-temperature-rtd-example
Open

divakar-selvam07 wants to merge 6 commits into
ni:masterfrom
NI-velmurugan:users/diva/add-nidmm-measure-temperature-rtd-example

Conversation

@divakar-selvam07

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?

  • Adds nidmm_measure_temperature_rtd.py, a Python example based on the LabVIEW “Measure Temperature (RTD)” VI. It configures a temperature measurement with selectable measurement function, RTD transducer and RTD type, then reads and reports the measurement in Celsius. The example includes options for RTD resistance and custom RTD coefficients.
  • Adds the example to the NI-DMM examples documentation and changelog.

List issues fixed by this Pull Request below, if any.

None.

What testing has been done?

  • Manually validated with a simulated instrument and an actual hardware instrument.

@codecov-commenter

codecov-commenter commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

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

❌ Your project status has failed because the head coverage (79.77%) 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 (cdbd8f2) and HEAD (3bfcfa7). Click for more details.

HEAD has 75 uploads less than BASE
Flag BASE (cdbd8f2) HEAD (3bfcfa7)
nifakeunittests 15 5
nidcpowerunittests 15 5
nidigitalunittests 15 5
nimodinstunittests 15 5
nirfsaunittests 15 5
niscopeunittests 15 5
nitclkunittests 15 5
codegenunittests 3 1
nidigitalsystemtests 1 0
nifgensystemtests 1 0
nirfsasystemtests 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2221      +/-   ##
==========================================
- Coverage   88.11%   79.77%   -8.35%     
==========================================
  Files          88       76      -12     
  Lines       22832    17332    -5500     
==========================================
- Hits        20119    13827    -6292     
- Misses       2713     3505     +792     
Flag Coverage Δ
codegenunittests 84.78% <ø> (ø)
nidcpowersystemtests 85.18% <ø> (-9.18%) ⬇️
nidcpowerunittests 89.53% <ø> (ø)
nidigitalsystemtests ?
nidigitalunittests 68.43% <ø> (ø)
nidmmsystemtests 92.33% <ø> (ø)
nifakeunittests 86.08% <ø> (ø)
nifgensystemtests ?
nimodinstsystemtests 73.85% <ø> (ø)
nimodinstunittests 94.20% <ø> (ø)
nirfsasystemtests ?
nirfsaunittests 63.40% <ø> (ø)
nirfsgsystemtests 70.08% <ø> (-11.10%) ⬇️
niscopesystemtests 89.99% <ø> (ø)
niscopeunittests 43.20% <ø> (ø)
nisesystemtests 91.50% <ø> (ø)
niswitchsystemtests 70.76% <ø> (-10.91%) ⬇️
nitclksystemtests 94.87% <ø> (ø)
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.

@Avinash2Suresh

Copy link
Copy Markdown

Approved!

@divakar-selvam07

Copy link
Copy Markdown
Author

@jarnoldNI, the PR is ready for your review.

@divakar-selvam07
divakar-selvam07 marked this pull request as ready for review October 14, 2026 00:18
Comment thread src/nidmm/examples/nidmm_measure_temperature_rtd.py Outdated

@ni-jfitzger ni-jfitzger left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Other than that one mistake in the argument help, this looks good.

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.

6 participants