Skip to content
Snippets Groups Projects
Commit d1241bc8 authored by Giulio Gaio's avatar Giulio Gaio
Browse files

Fixed Off command

parent 20996073
No related branches found
No related tags found
No related merge requests found
......@@ -7,12 +7,12 @@
# The optimizer keep constant the rms of the orbit
#
# Usage:
# DischargeCorr.py [selfseqdev] [mimofb] [gofprofile] [plane]
# DischargeCorr.py [selfseqdev] [plane]
#
# Example:
# ./DischargeCorr.py seq/discharge/psch_sr opt/sr/discharge_psch_sr sr/feedback/profile_s hor
# ./DischargeCorr.py seq/discharge/psch_sr hor
#
# ./DischargeCorr.py seq/discharge/pscv_sr opt/sr/discharge_pscv_sr sr/feedback/profile_s ver
# ./DischargeCorr.py seq/discharge/pscv_sr ver
#
import sys,re
......@@ -220,7 +220,7 @@ def main():
# check the mimo is running (ON)
while (mimo_dev.read_attribute('State') == 0):
while (str(mimo_dev.State()) == 'ON'):
time.sleep(2)
mimo_dev.Off()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment