Script execution

This commit is contained in:
gac-x10da
2019-03-19 09:48:31 +01:00
parent e4003e7fbd
commit bb530d7dc9

View File

@@ -21,7 +21,7 @@ SAI01 = Channel('X10DA-ES1-SAI_01:MEAN', type = 'd')
#ScalarDetector SAI02
SAI02 = Channel('X10DA-ES1-SAI_02:MEAN', type = 'd')
#ScalarDetector Ring-current
Ring-current = Channel('ARIDI-PCT:CURRENT', type = 'd')
RingCurrent = Channel('ARIDI-PCT:CURRENT', type = 'd')
#ScalarDetector PilExpTime
PilExpTime = Channel('X10DA-PILATUS-1:cam1:AcquireTime_RBV', type = 'd')
#Timestamp Timestamp
@@ -50,11 +50,11 @@ for setpoint1 in range(0, 30):
cawait('X10DA-PILATUS-1:cam1:Acquire', 0, type = 'l')
cawait('X10DA-ES1:SMPL-DONE', 1, type = 'l')
sleep(0.1)
detector1 = SAI01-MEAN.get()
detector1 = SAI01.get()
#Detector SAI02
detector2 = SAI02.get()
#Detector Ring-current
detector3 = Ring-current.get()
detector3 = RingCurrent.get()
#Detector PilExpTime
detector4 = PilExpTime.get()
#Detector Timestamp