Script execution

This commit is contained in:
sfop
2017-01-24 10:48:57 +01:00
parent 807ec0da5c
commit 5003ee49e9
+8
View File
@@ -40,3 +40,11 @@ finally:
phase_ref = 80.0
phase_offset = - phase_ref
caput("SINEG01-RSYS:CALC-VSUM-PHASE-OFFSET", phase_offset)
#Setting the return value
#set_return(50.0)
y = r.getReadable(0)
x = r.getPositions(0)
index_max = y.indexOf(max(y))
_=x[index_max]