Script execution

This commit is contained in:
voulot_d
2017-01-19 14:50:10 +01:00
parent c241b9addb
commit 6f9668cff2

View File

@@ -22,7 +22,7 @@ try:
r = lscan(phase, (qb), start, stop, step, latency=lat)
rf_phase = r.getPositions(0)
#charge = [val.mean for val in r.getReadable(0)]
charge = r.getReadable(0)
charge = r.getReadable(0).mean
caput("SINEG01-RSYS:GET-PHASE-ARRAY", to_array(rf_phase,'d'))
caput("SINEG01-RSYS:GET-CHARGE-ARRAY", to_array(charge, 'd'))
finally: