print globals to quickly test access to all devices, fixed devices built from SmarActRecord, cleaned str of laser object, fixed __str__ cannot return None, fake epics device get method returns number to satisfy some string formatting
This commit is contained in:
8
alvra.py
8
alvra.py
@ -72,4 +72,12 @@ print(shut_und)
|
||||
print(pbps_und)
|
||||
|
||||
|
||||
for k, v in dict(globals()).items():
|
||||
if k.startswith("__"):
|
||||
continue
|
||||
print("-" * 10)
|
||||
print(k)
|
||||
print(v)
|
||||
|
||||
print(laser)
|
||||
|
||||
|
@ -14,7 +14,7 @@ flexTable = sd.endstations.alvra_flex.table(
|
||||
)
|
||||
|
||||
prism = sd.general.smaract.SmarActStage(
|
||||
dict(
|
||||
dict( #TODO: remove the wrapper dict
|
||||
gonio="SARES11-CMOV-SMA691110",
|
||||
trans="SARES11-CMOV-SMA691111",
|
||||
rotat="SARES11-CMOV-SMA691112"
|
||||
@ -24,7 +24,7 @@ prism = sd.general.smaract.SmarActStage(
|
||||
)
|
||||
|
||||
xmic = sd.general.smaract.SmarActStage(
|
||||
dict(
|
||||
dict( #TODO: remove the wrapper dict
|
||||
gonio="SARES11-CMOV-SMA691113",
|
||||
rotat="SARES11-CMOV-SMA691114"
|
||||
),
|
||||
@ -40,6 +40,8 @@ primeSample = sd.endstations.alvra_prime.Huber(
|
||||
|
||||
primeMicroscope = sd.endstations.alvra_prime.Microscope(
|
||||
"SARES11-XMI125",
|
||||
gonio="SARES11-CMOV-SMA691113",
|
||||
rotat="SARES11-CMOV-SMA691114",
|
||||
z_undulator=127,
|
||||
description="Microscope focus and zoom"
|
||||
)
|
||||
|
Reference in New Issue
Block a user