#energy.write(710) #time.sleep (2) cawait('X11PHS:alldone', 0, timeout=5)