Skip to content

Commit

Permalink
Merge pull request #323 from EdwardLaird1/EdwardLaird1-patch-1
Browse files Browse the repository at this point in the history
Update HF2LI.py
  • Loading branch information
jenshnielsen authored May 3, 2024
2 parents 64079a3 + e82baa1 commit 062e78d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 062e78d

Please sign in to comment.