Skip to content

Commit

Permalink
booster.py: wait 100 ms before taking bias current
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Jan 31, 2022
1 parent 7ddbc46 commit 519fc53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions booster.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ async def tune_bias(self, channel, current):
async def set_bias(voltage):
await self.settings_interface.command(f'channel/{channel}/bias_voltage',
voltage, retain=False)
# Sleep 100 ms for bias current to settle and for ADC to take current measurement.
await asyncio.sleep(0.1)
response = await self.perform_action(Action.ReadBiasCurrent, channel)
response = json.loads(response['msg'])
vgs, ids = response['vgs'], response['ids']
Expand Down

0 comments on commit 519fc53

Please sign in to comment.