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

Measurements using get_connections fails when sites are unset and no pin map is provided #927

Open
Jotheeswaran-Nandagopal opened this issue Sep 24, 2024 · 0 comments
Labels
bug Something isn't working triage New issue that needs to be reviewed

Comments

@Jotheeswaran-Nandagopal
Copy link
Contributor

Jotheeswaran-Nandagopal commented Sep 24, 2024

Bug Report

  • Running the Python measurements with get_connections without a pin map and with sites not configured in the pin map context results in a measurement failure, accompanied by the following exception:
    image

Repro or Code Sample

  • Create a Python Measurement Client for niscope_acquire_waveform.
  • With no pin map, set pin_map_context to PinMapContext(pin_map_id="", sites=[]).
  • Call measure() API.

Expected Behavior

Return the the output of the measurement.

Current Behavior

Measurement fails with an exception.
image

Possible Solution

#915 (comment)

Context

#915 (comment)

Your Environment

  • OS & Device: Windows
  • ni-measurement-plugin-sdk-service version: 2.1.0-dev0 - main
  • MeasurementLink version: 2024 Q3
  • Python version: 3.9

AB#2865897

@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal added bug Something isn't working triage New issue that needs to be reviewed labels Sep 24, 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 triage New issue that needs to be reviewed
Projects
None yet
Development

No branches or pull requests

1 participant