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

examples: Add gRPC support to VISA examples #525

Merged
merged 2 commits into from
Nov 28, 2023
Merged

Conversation

bkeryan
Copy link
Collaborator

@bkeryan bkeryan commented Nov 17, 2023

What does this Pull Request accomplish?

Update nivisa_dmm_measurement and output_voltage_measurement to use NI gRPC Device Server.

_visa_dmm_session_management.py, _visa_grpc.py, and teststand_visa_dmm.py are duplicated or "vendored" in each example.

I would like to move some of the VISA session management code into ni-measurementlink-service (#522 is intended to move in that direction), but for now I'm adding it as example code.

Why should this Pull Request be merged?

Allow sharing VISA sessions between multiple measurement services.

What testing has been done?

Copy link

github-actions bot commented Nov 18, 2023

Test Results

       30 files  ±0         30 suites  ±0   38m 6s ⏱️ + 2m 31s
     531 tests ±0       531 ✔️ ±0         0 💤 ±0  0 ±0 
12 910 runs  ±0  11 850 ✔️ ±0  1 060 💤 ±0  0 ±0 

Results for commit 44d640c. ± Comparison against base commit 4e9fdd3.

♻️ This comment has been updated with latest results.

@bkeryan bkeryan merged commit c0f077f into main Nov 28, 2023
@bkeryan bkeryan deleted the users/bkeryan/visa-grpc branch November 28, 2023 20:47
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