Skip to content

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

@Jotheeswaran-Nandagopal

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNew issue that needs to be reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions