ni / ni/nimi-python

The way Driver Version is queried in print_diagnostic_information will not work if only driver runtime is installed

Open
#1,323 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
128
Forks
110
Avg merge
5d 14h
Merged PRs (30d)
10

Description

Description of issue

driver_version is queried in print_diagnostic_information by looking at the value of HKLM\SOFTWARE\National Instruments\<DriverName>\CurrentVersion regkey.

This regkey is not part of runtime installer, but rather part of full installer. We should update the logic to get the version of driver runtime and also update the wording to make it clear that the info is for the driver runtime.

#1205 is a related issue. Both should be fixed together.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating print_diagnostic_information and reviewing how driver_version reads HKLM\SOFTWARE\National Instruments<DriverName>\CurrentVersion. Compare the required runtime-version lookup with related issue #1205; done means the diagnostic output works when only the driver runtime is installed and clearly labels the information as the driver runtime version.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.