Skip to content
Snippets Groups Projects
Commit 28c616a4 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

Groan. I think that now I got the fpga_scrap attribute right.

parent 62544aff
Branches
Tags
No related merge requests found
...@@ -310,7 +310,7 @@ class SDP(Device): ...@@ -310,7 +310,7 @@ class SDP(Device):
@fault_on_error @fault_on_error
def read_fpga_scrap_R(self): def read_fpga_scrap_R(self):
"""Return the fpga_scrap_R attribute.""" """Return the fpga_scrap_R attribute."""
self._fpga_scrap_R = numpy.array(numpy.split(numpy.array(self.attribute_mapping["fpga_scrap_R"].get_data_value().Value.Value), indices_or_sections = 16)) self._fpga_scrap_R = numpy.array(self.attribute_mapping["fpga_scrap_R"].get_data_value().Value.Value)
return self._fpga_scrap_R return self._fpga_scrap_R
@only_when_on @only_when_on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment