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

Create visa_dmm custom driver and updated nivisa_dmm_measurement #439

Merged
merged 11 commits into from
Oct 13, 2023

Conversation

Avinash2Suresh
Copy link
Contributor

@Avinash2Suresh Avinash2Suresh commented Oct 11, 2023

What does this Pull Request accomplish?

Refactored the VISA examples to use _visa_dmm.py custom instrument driver instead of directly manipulating VISA sessions in _visa_helpers.py.

Updated the nivisa_dmm_measurement examples to use the newly created _visa_dmm.py driver.

Why should this Pull Request be merged?

Part of the new session management API.

Implement - Task 2542508: Create _visa_dmm.py driver and update NI_VISA_DMM example

What testing has been done?

Manually tested with the updated nivisa_dmm_measurement in both InstrumentStudio and TestStand.

@github-actions
Copy link

github-actions bot commented Oct 11, 2023

Test Results

       30 files  ±0       30 suites  ±0   24m 15s ⏱️ +58s
     452 tests ±0     376 ✔️ ±0       76 💤 ±0  0 ±0 
13 530 runs  ±0  9 650 ✔️ ±0  3 880 💤 ±0  0 ±0 

Results for commit b05c600. ± Comparison against base commit 60ead5b.

♻️ This comment has been updated with latest results.

examples/nivisa_dmm_measurement/teststand_fixture.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
@Avinash2Suresh Avinash2Suresh changed the title [internal] Create visa_dmm custom driver and updated nivisa_dmm_measurement Create visa_dmm custom driver and updated nivisa_dmm_measurement Oct 11, 2023
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm_sim.yaml Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/teststand_fixture.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/teststand_fixture.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/teststand_fixture.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm_sim.yaml Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/README.md Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/README.md Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/README.md Show resolved Hide resolved
examples/nivisa_dmm_measurement/README.md Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/README.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

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

Approved with suggestions

examples/nivisa_dmm_measurement/README.md Outdated Show resolved Hide resolved
examples/nivisa_dmm_measurement/_visa_dmm.py Outdated Show resolved Hide resolved
@bkeryan bkeryan merged commit 16a5ecb into main Oct 13, 2023
20 checks passed
@bkeryan bkeryan deleted the users/avinash/create-visadmm-driver branch October 13, 2023 15:20
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.

5 participants