Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get_channel_names to niscope API #1957

Merged
merged 9 commits into from
May 2, 2023

Conversation

ni-jfitzger
Copy link
Collaborator

  • 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 the get_channel_names method to the niscope API. Per the decision made in #1386, get_channel_name and get_channel_name_from_string will not be added. This will be the only entrypoint for translating channel indices to names.

Implementation:
Copied the current metadata from nidigital and tweaked parameter names and some hidden parameter documentation for niscope.

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

What testing has been done?

  • Copied test_get_channel_names from nidigital and modified it for niscope. It passes.

src/niscope/metadata/functions_addon.py Outdated Show resolved Hide resolved
src/niscope/system_tests/test_system_niscope.py Outdated Show resolved Hide resolved
@ni-jfitzger ni-jfitzger merged commit c69b58f into ni:master May 2, 2023
@ni-jfitzger ni-jfitzger deleted the niscope-get_channel_names branch May 2, 2023 23:10
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.

niScope_GetChannelName() and niScope_GetChannelNameFromString() missing from niscope Python bindings
2 participants