Commit a3769853 authored by cermak's avatar cermak
Browse files

fix write

Change-Id: I5dc047c82d5924bc32a1bcb957f5c470fe81e037
parent 680667b5
......@@ -200,7 +200,7 @@ class XRaySource(base.DiscreteOutput):
return self._state
def write_value(self, value):
self._iodev.Communicate(f'XRAY {value}')
self._iodev.Communicate(f'XRAY { {1: 'ON', 0: 'OFF'}.value }')
Supports Markdown
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