This commit is contained in:
2020-07-03 18:53:47 +02:00
parent fbb2baf63b
commit d22cdeded7
2 changed files with 15 additions and 6 deletions
+12 -5
View File
@@ -490,11 +490,18 @@ components = [
"run_table": Component("run_table"),
},
},
# {
# "args": [],
# "name": "lxt",
# "desc": "laser timing with pockels cells and phase shifter",
# "type": "eco.timing.lasertiming:Lxt",
# "kwargs": {},
# },
{
"args": [],
"name": "lxt",
"desc": "laser timing with pockels cells and phase shifter",
"type": "eco.timing.lasertiming:Lxt",
"name": "xlt_epics",
"desc": "laser timing with pockels cells and phase shifter, epics implementation by edwin",
"type": "eco.timing.lasertiming_edwin:XltEpics",
"kwargs": {},
},
{
@@ -706,7 +713,7 @@ components = [
"z_und": 142,
"desc": "USD attenuator",
"type": "eco.xdiagnostics.att_usd:att_usd_targets",
"kwargs": {"Id": "SARES23", "xp":Component("xp")},
"kwargs": {"Id": "SARES23", "xp": Component("xp")},
},
{
"args": [],
@@ -737,7 +744,7 @@ components = [
"checker": Component("checker"),
"scan_directories": True,
"run_table": Component("run_table"),
"elog":Component("elog"),
"elog": Component("elog"),
},
"lazy": False,
},
+3 -1
View File
@@ -14,7 +14,7 @@ from ..aliases import append_object_to_object, Alias
@spec_convenience
class LxtEpics:
class XltEpics:
def __init__(self, pvname="SLAAR02-LTIM-PDLY", name="lxt_epics"):
self.pvname = pvname
self.alias = Alias(name)
@@ -79,3 +79,5 @@ class LxtEpics:
stopper=None,
)
def reset_current_value_to(self, value):
self.offset.set_target_value((self.get_current_dial_value() - value)).wait()