positions = [ ("test1" ,10,0), \ ("test2" ,-1,1.5), \ ("test3" ,-17,1.5), \ ("test4" ,15,11), \ ("test5" ,-3,11), \ ("test6" ,-16,12), \ ("test7" ,10.2,0.2), \ ("test8" ,-1.2,1.7), \ ("test9" ,-17.2,1.7), \ ("test10" ,15.2,11.2), \ ("test11" ,-3.2,11.2), \ ("test12" ,-16.2,12.2)] for pos in positions: caput("X10DA-ES1-MA1:TRX", pos[1]) caput("X10DA-ES1-MA1:TRY", pos[2] ) set_exec_pars(name = pos[0], reset = True) run_fda("users/20190827_Craig/RXES_sampleTest2.xml") caput("X10DA-OP-MO3:BraggEAO.VAL", 5.05) run_fda("users/20190827_Craig/XES_test.xml")