microsoft / microsoft/Qcodes

"ValueError: setting an array element with a sequence." on oscilloscope driver

Open
#678 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
459
Forks
359
Avg merge
3d 6h
Merged PRs (30d)
73

Description

Is there a specific format when trying to saving data using the measure.Measure.get() command using an oscilloscope? I have tried using a numpy array, a list and an object but they all give me the same error:

"ValueError: setting an array element with a sequence."

I know this was an issue you came across in #435 . How did you resolve this error in the TPS driver?

Cheers!
Arvind

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with measure.Measure.get() and compare the oscilloscope driver with the TPS driver discussed in issue #435. Reproduce the error using the listed NumPy array, list, and object inputs, then determine the accepted data format; done means documenting or correcting the behavior so the reported error is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.