Commit 680667b5 authored by cermak's avatar cermak
Browse files

Merge branch 'master' of https://gitlab.mff.cuni.cz/mgml/entangle

Change-Id: I6333ef09b512cca079e85804361906f7ff9c4927
parents 2d63480e 777dfbdf
......@@ -138,8 +138,8 @@ class XRaySource(base.DiscreteOutput):
def Reset(self):
# set correct target parameters
self._iodev.Communicate('BEAM {self.targetcurrent}')
self._iodev.Communicate('KV {self.targetvoltage}')
self._iodev.Communicate(f'BEAM {self.targetcurrent}')
self._iodev.Communicate(f'KV {self.targetvoltage}')
# This should be called periodically
def state(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment