Skip to content

Commit dd6ec1f

Browse files
committed
Fix unresolved types in SR86x
1 parent 04464f8 commit dd6ec1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/qcodes/instrument_drivers/stanford_research

src/qcodes/instrument_drivers/stanford_research/SR86x.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_raw(self) -> npt.NDArray:
8989
return self._capture_data
9090

9191

92-
class SR86xBuffer(InstrumentChannel):
92+
class SR86xBuffer(InstrumentChannel["SR86x"]):
9393
"""
9494
Buffer module for the SR86x drivers.
9595
@@ -529,7 +529,7 @@ def _get_raw_capture_data_block(
529529
f"({size_of_currently_captured_data}kB)"
530530
)
531531

532-
values = self._parent.visa_handle.query_binary_values(
532+
values = self.parent.visa_handle.query_binary_values(
533533
f"CAPTUREGET? {offset_in_kb}, {size_in_kb}",
534534
datatype="f",
535535
is_big_endian=False,
@@ -621,7 +621,7 @@ def capture_samples(self, sample_count: int) -> dict[str, npt.NDArray]:
621621
return self.get_capture_data(sample_count)
622622

623623

624-
class SR86xDataChannel(InstrumentChannel):
624+
class SR86xDataChannel(InstrumentChannel["SR86x"]):
625625
"""
626626
Implements a data channel of SR86x lock-in amplifier. Parameters that are
627627
assigned to these channels get plotted on the display of the instrument.

0 commit comments

Comments
 (0)