Skip to content
Snippets Groups Projects
Commit 68a5b694 authored by rodolakis's avatar rodolakis
Browse files

add SRS.set_all() method

parent ba333239
No related branches found
No related tags found
No related merge requests found
......@@ -350,8 +350,17 @@ class SRS:
self.offset_unit = None
self.offset_sign = None
self.offset_factor = None
self.set_all()
self.get_all(verbose=False)
def set_all(self):
"""
set all PV to current SP values (what the screen shows in not necessarely what the PV are set to)
"""
pv=self._srs_pv+"init.PROC"
caput(pv,1)
def get_all(self,verbose):
"""
reads the current SRS and corresponding scaler values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment