Script execution

This commit is contained in:
voulot_d
2017-01-30 17:09:51 +01:00
parent 58cdd9b272
commit b8874cd930

View File

@@ -12,6 +12,9 @@ else:
step = args[2]
nb = int(args[3])
lat = args[4]
disp = 0.32
energy0 = 6.5
phase = ControlledVariable("Phase", "SINEG01-RSYS:SET-VSUM-PHASE-SIM", "SINEG01-RSYS:GET-VSUM-PHASE-SIM")
phase.config.minValue =-45.0
@@ -19,12 +22,12 @@ phase.config.maxValue = 360.0
phase.config.resolution = 0.5
phase.initialize()
#camtool = Camtool(url)
#camtool.startPipeline(camera_name)
#camtool.startReceiver()
#x = camtool.getValue("x_fit_mean")
x = Channel("SINEG01-RSYS:GET-VSUM-AMPLT-SIM", type = 'd', alias='Amplitude Readback')
dx = Channel("SINEG01-RSYS:GET-KLY-POWER-SIM", type = 'd', alias='Power Readback')
camtool = Camtool(sflca:10000)
camtool.startPipeline(camera_name)
camtool.startReceiver()
x = camtool.getValue("x_fit_mean")
#x = Channel("SINEG01-RSYS:GET-VSUM-AMPLT-SIM", type = 'd', alias='Amplitude Readback')
#dx = Channel("SINEG01-RSYS:GET-KLY-POWER-SIM", type = 'd', alias='Power Readback')
try: