Skip to content

Commit

Permalink
make mypy happy root_instrument -> instrument
Browse files Browse the repository at this point in the history
  • Loading branch information
edumur committed Dec 11, 2024
1 parent 3c1bcee commit 4dcc99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qcodes_contrib_drivers/drivers/Tektronix/FCA3100.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_raw(self) -> np.ndarray:
assert isinstance(self.instrument, FCA3100)
self.instrument.write('CALCulate:AVERage:STATe 0')
self.instrument.write('ARM:COUN {}'.format(self.instrument.samples_number.get_latest()))
data_str=self.root_instrument.ask("READ:ARRay? {}".format(self.root_instrument.samples_number.get_latest()))
data_str=self.instrument.ask("READ:ARRay? {}".format(self.instrument.samples_number.get_latest()))
data = np.array(data_str.rstrip().split(",")).astype("float64")
return data

Expand Down

0 comments on commit 4dcc99f

Please sign in to comment.