Skip to content

Convention for adding parameters to instrument driver + intellisense problems #6353

Closed Answered by jenshnielsen
fishyvishy asked this question in Q&A
Discussion options

You must be logged in to vote

When I tried using the self.add_parameter approach, I noticed that the driver breaks, which seems to be because self.add_parameter returns NoneType as per its definition in the InstrumentBase class. I switched to the second approach, directly instantiating with the Parameter class and everything seems fine.

Which version of qcodes are you using. The return from add_parameter was added in 0.46.0

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fishyvishy
Comment options

Answer selected by jenshnielsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants