Skip to content

Commit

Permalink
Remove call to channel_power method during acquisition
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJKoopman committed Nov 21, 2024
1 parent 94a9466 commit 57bbcbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion socs/agents/pfeiffer_tpg366/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ def acq(self, session, params=None):
'block_name': 'pressures',
'data': {}
}
self.gauge.channel_power()
# Useful for debugging, but should separate to a task to cut
# down on queries in the main acq() loop.
# self.gauge.channel_power()
pressure_array = self.gauge.read_pressure_all()
# Loop through all the channels on the device
for channel in range(len(pressure_array)):
Expand Down

0 comments on commit 57bbcbb

Please sign in to comment.