diff --git a/script/Motor Test 3.py b/script/Motor Test 3.py index 195acfa..98ade1e 100644 --- a/script/Motor Test 3.py +++ b/script/Motor Test 3.py @@ -9,11 +9,12 @@ scan = ManualScan(['idX', 'idInkr'], ['idMotorStatus', 'idLogicalPosition', 'idD scan.start() #Creating channels: dimension 1 -#PseudoPositioner idX -#RegionPositioner idInkr #try one channel to see if accessible +#PseudoPositioner idX try: - idInkr = Channel(DEVICE+':INKR:2', type = 'd') + #RegionPositioner idInkr + #idInkr = Channel(DEVICE+':INKR:2', type = 'd') + idInkr = Channel(DEVICE+':MOTOR.ATHM', type = 'd') except: print "Unexpected error:", sys.exc_info()[0] ret = 'Unable to create channel' @@ -21,21 +22,29 @@ except: raise sys.exit() #ScalarDetector idMotorStatus -idMotorStatus = Channel(DEVICE+':STA:1', type = 'd') +#idMotorStatus = Channel(DEVICE+':STA:1', type = 'd') +idMotorStatus = Channel(DEVICE+':MOTOR.MSTA', type = 'd') #ScalarDetector idLogicalPosition -idLogicalPosition = Channel(DEVICE+':IST:2', type = 'd') +#idLogicalPosition = Channel(DEVICE+':IST:2', type = 'd') +idLogicalPosition = Channel(DEVICE+':MOTOR.STA, type = 'd') #ScalarDetector idDiameter -idDiameter = Channel(DEVICE+':DIAM:2', type = 'd') +#idDiameter = Channel(DEVICE+':DIAM:2', type = 'd') +idDiameter = Channel(DEVICE+':MOTOR.VAL', type = 'd') #ScalarDetector idMotorPosition -idMotorPosition = Channel(DEVICE+':IST1:2', type = 'd') +#idMotorPosition = Channel(DEVICE+':IST1:2', type = 'd') +idMotorPosition = Channel(DEVICE+':MOTOR.RVAL', type = 'd') #ScalarDetector idPotiRaw -idPotiRaw = Channel(DEVICE+':POSA:1', type = 'd') +#idPotiRaw = Channel(DEVICE+':POSA:1', type = 'd') +idPotiRaw = Channel(DEVICE+':ENCODERraw', type = 'd') #ScalarDetector idPotiProc -idPotiProc = Channel(DEVICE+':POSA:2', type = 'd') +#idPotiProc = Channel(DEVICE+':POSA:2', type = 'd') +idPotiProc = Channel(DEVICE+':ENCODER', type = 'd') #ScalarDetector idBtvsRaw -idBtvsRaw = Channel(DEVICE+':IST3:1', type = 'd') +#idBtvsRaw = Channel(DEVICE+':IST3:1', type = 'd') +idBtvsRaw = Channel(DEVICE+':MOTOR.LLS', type = 'd') #ScalarDetector idBtvsProc -idBtvsProc = Channel(DEVICE+':IST3:2', type = 'd') +#idBtvsProc = Channel(DEVICE+':IST3:2', type = 'd') +idBtvsProc = Channel(DEVICE+':MOTOR.HLS', type = 'd') #Dimension 1 #PseudoPositioner idX