Skip to content

Commit

Permalink
Remove incorrectly added print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
bessman committed Jul 2, 2024
1 parent 86b5850 commit c66fcac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pslab/instrument/power_supply.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ class PowerSupply:
An instance of PowerSupply controls three programmable voltage sources on
pins PV1, PV2, and PV3, as well as a programmable current source on pin
PCS. The voltage/current on each source can be set via the voltage/current
properties of each source.
PCS.
Parameters
----------
Expand Down Expand Up @@ -52,10 +51,8 @@ def __init__(self, device: SerialHandler = None):
def _set_power(self, channel, output):
self._device.send_byte(CP.DAC)
self._device.send_byte(CP.SET_POWER)
print(channel)
self._device.send_byte(channel)
self._device.send_int(output)
print(output)
return self._device.get_ack()

@staticmethod
Expand Down

0 comments on commit c66fcac

Please sign in to comment.