Changeset 783 in ETALON for BPM/motor_control.py
- Timestamp:
- Jul 17, 2018, 4:02:19 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BPM/motor_control.py
r782 r783 1 import time2 import urllib3 import os1 #import time 2 #import urllib 3 #import os 4 4 from initialise_motors import * 5 5 from scope_function import * 6 import numpy as np7 import matplotlib.pyplot as plt6 #import numpy as np 7 #import matplotlib.pyplot as plt 8 8 9 9 # moteur 1 -> horizontal … … 16 16 motor_enable(1) 17 17 move_motor_absolute(1,5000,-5000) 18 #while motor_get(1, 'status') != 'READY': 19 # time.sleep(1) 18 20 move_motor_absolute(1,5000,0) 21 #while motor_get(1, 'status') != 'READY': 22 # time.sleep(1) 19 23 motor_disable(1) 20 24
Note: See TracChangeset
for help on using the changeset viewer.