diff --git a/src/qcodes_contrib_drivers/drivers/ZurichInstruments/HF2LI.py b/src/qcodes_contrib_drivers/drivers/ZurichInstruments/HF2LI.py index a6d20de31..b1d1ba63b 100644 --- a/src/qcodes_contrib_drivers/drivers/ZurichInstruments/HF2LI.py +++ b/src/qcodes_contrib_drivers/drivers/ZurichInstruments/HF2LI.py @@ -158,7 +158,7 @@ def _set_phase(self, phase: float) -> None: self.daq.setDouble(path, phase) def _get_gain(self, channel: str) -> float: - path = f'/{self.devid}/auxouts/{self.auxouts[channel]}/scale/' + path = f'/{self.dev_id}/auxouts/{self.auxouts[channel]}/scale/' return self.daq.getDouble(path) def _set_gain(self, gain: float, channel: str) -> None: