Closedown

This commit is contained in:
gac-x03da
2020-03-10 15:33:18 +01:00
parent 528b8bd544
commit 7440b69302
5 changed files with 20 additions and 18 deletions

View File

@@ -17,7 +17,6 @@ set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
try:
if FLY_SCAN:
print "start ", STEPS
# time per scienta acquisition in seconds
time1 = time.time()
trig_scienta()

View File

@@ -36,7 +36,10 @@ class PseudoMotor(RegisterBase, ControlledSpeedable):
def getMaxSpeed(self):
return 10.0
positioner = PseudoMotor("PseudoMotor")
positioner = PseudoMotor("PseudoMotor")
#If the device is not added to device liost it must be initialized
#positioner.initialize()
add_device(positioner, True);
cscan(positioner, MachineCurrent, 0, 10, 1.0, time=5.0)