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

[BUG] Setup DCPower instrumentation doesn't support same channel on multiple sites #174

Open
swuwu15 opened this issue Dec 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@swuwu15
Copy link

swuwu15 commented Dec 6, 2024

Describe the bug
When having a pin connection definined on the pin map such as follows:

Connection pin="Vdd" siteNumber="0,1" instrument="SMU_4162_C2_S10" channel="0"

The SetupNIDCPowerInstrumentation method will error out throwing a runtime error due to a duplicated key in the dictionary.

To Reproduce
Steps to reproduce the behavior:

  1. Define a DUT pin in the pinmap and more than 1 site.
  2. In the connections, assign the pin for the first site to a DC power channel.
  3. Assign the same DC power channel to the pin for the second site and subsequent other sites.
  4. Run the SetupNIDCPowerInstrumentation from Process setup with all sites enabled.

Expected behavior
Method should cache the pin and site information of the instrument session despite being shared among sites.

Screenshots

image

image

System Setup(please complete the following information):

  • STS Software Version: 24.5.1
  • Hardware: Virtual Machine
  • Instrumentation: PXIe-4162 (simulated)

NI Support Status
Has this issue been reviewed separately by NI Support team member? No it hasn't.

@swuwu15 swuwu15 added the bug Something isn't working label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant